Will wrote:
John,
I have that script:
$sql = "UPDATE $table_name5 SET
    care_id = '$_POST[care_id]',
    date = '$_POST[date]',
    common = '$_POST[common]',
    notes = '$_POST[notes]'
    WHERE notes_id ='$_POST[notes_id]'";
   $result = @mysql_query($sql,$conn) or die(mysql_error());

header("Location: main.php");
exit;

But my question is when I hit the submit button and check the database it has nothing in the "notes" field. I tried a hidden field in the modify script but it did not work.
Will

Make sure you have a 'name' attribute in your textarea....


<textarea name="notes"></textarea>

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to