On Mon, 22 Sep 2003, -{ Rene Brehmer }- wrote:
> $result = mysql_query($query);
replace with:
$result = mysql_query($query) or die("MySQL Error: ".mysql_error()."\n<br/>SQL:
".$query);
If the query fails, you will see why the query failed, and be able to view
the query itself. Maybe $_POST['edit'] isn't set. Maybe you have a
problem in your SQL. Maybe the DB you are connecting to doesn't exist. I
would check your connection as well.
Beckman
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php