ok I have a questions about some simple PHP that I must be over looking?

Justin G

New member
Here is my form code

<form action="save.php">
<textarea name="content" style="width: 687px; height: 425px" >
<?php
// Display the Contants of the file in the text area of the wysiwyg Editor
echo $content;?>
</textarea>
<br></br>
<input name="submit" type="submit" value="submit"></input>
</form>

and the save.php code is
<?php
$content = $_POST['content'];
echo $content;
?>
I am getting a NOTICE: Undifined INDEX content on line 3
and the code is not showing up!???

Any suggestions
RESOLVED.
Thanks it using $_GET due to I forget to tell it to use " METHOD POST"
 
Back
Top