Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I echo submitted values from settings.php to mainpage.php?
    primarykey
    data
    text
    <p>I'm basically trying to get the values submitted from settings so that when the user submits it, it is displayed onto mainpage.php. Here's the code from what I have in settings.php...</p> <pre><code>&lt;html&gt; &lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt; &lt;body&gt; &lt;a href="logout.php"&gt;Logout&lt;/a&gt; &lt;a href="mainpage.php"&gt;Main Page&lt;/a&gt; &lt;form action="" method="get"&gt; &lt;b&gt;Bio&lt;/b&gt; &lt;br&gt; &lt;textarea rows="5" cols="20" name="result" value="result"&gt;&lt;/textarea&gt; &lt;br&gt; &lt;input type="submit" value="Submit" name="bio"&gt; &lt;/form&gt; &lt;form action="" method="get"&gt; &lt;b&gt;Hobbies&lt;/b&gt; &lt;br&gt; &lt;textarea rows="5" cols="20" name="result" value="result"&gt;&lt;/textarea&gt; &lt;br&gt; &lt;input type="submit" value="Submit" name="hobbies"&gt; &lt;/form&gt; &lt;form action="" method="get"&gt; &lt;b&gt;Past School&lt;/b&gt; &lt;br&gt; &lt;textarea rows="5" cols="20" name="result" value="result"&gt;&lt;/textarea&gt; &lt;br&gt; &lt;input type="submit" value="Submit" name="school"&gt; &lt;/form&gt; &lt;form action="" method="get"&gt; &lt;b&gt;Work History&lt;/b&gt; &lt;br&gt; &lt;textarea rows="5" cols="20" name="result" value="result"&gt;&lt;/textarea&gt; &lt;br&gt; &lt;input type="submit" value="Submit" name="work"&gt; &lt;/form&gt; &lt;form action="upload_file.php" method="post" enctype="multipart/form-data"&gt; &lt;label for="file"&gt;Choose Profile Picture:&lt;/label&gt; &lt;input type="file" name="file" id="file"&gt; &lt;input type="submit" name="pic" value="Submit"&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>And this is what I have for mainpage.php</p> <pre><code>&lt;?php ?&gt; &lt;html&gt; &lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt; &lt;body&gt; &lt;a href="logout.php"&gt;Logout&lt;/a&gt; &lt;a href="settings.php"&gt;Settings&lt;/a&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Any suggestions?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload