I have a problem with my form linking to a php file.
<form action="yourThoughts.php" method="post"> What do you think?: <input type="text" name="name"> </input> <input type="submit" value="submit"> </input> </form>
Then my php file says this:
<html> <body> Your thoughts are <?php echo $_POST["name"]; ?> </body> </html>
Can somebody please help me with the code of am I doing something wrong.
The files are saved in the same folder.