note 33523 added to function.mysql-query
| From: | Joshua_Hesketh at hotmail dot com | Date: | Sun, 29 Jun 2003 05:42:07 +0000 |
| Subject: | note 33523 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51162@lists.php.net to get a copy of this message | ||
Why doesnt this work??
mysql_connect($host,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query = "UPDATE news SET title = '" . $title . "', text = '" .
$text . "<br><br><i>Last edited at: " . $date . "' WHERE id =
'" . $id . "' LIMIT 1; ";
mysql_query($query);
mysql_close();
I am using php4 and MySQL4 on apache
----
Manual Page -- http://www.php.net/manual/en/function.mysql-query.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33523
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33523&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33523&report=yes