Re: [PHP-WIN] new problem... problem with Query...

2001-11-19 Thread Todd Williamsen
Both don't work... same problem... I cannot figure it out "Olivier Hubert" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > If you mysql connection is the only one you're trying to maintain, > I suggest you try > > $result = @mysql_query($sql) or

Re: [PHP-WIN] new problem... problem with Query...

2001-11-19 Thread Olivier Hubert
Hi, If you mysql connection is the only one you're trying to maintain, I suggest you try $result = @mysql_query($sql) or die ("Couldn't execute query."); e.g. without passing the $connection parameter. Also, try using mysql_error to get the actual error message. HTH! Olivier At 16

Re: [PHP-WIN] new problem... problem with Query...

2001-11-19 Thread Jim Lucas
try using single quotes Jim - Original Message - From: "Todd Williamsen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 2:30 PM Subject: [PHP-WIN] new problem... problem with Query... > Here it is I get the error "cann

[PHP-WIN] new problem... problem with Query...

2001-11-19 Thread Todd Williamsen
Here it is I get the error "cannot execute query" so there is something wrong with the SQL and I cannot figure it out... http://www.feminineforum.com/admin/pick_modcontact.php";); exit; } else { session_start(); } if ($valid != "yes") { header("Location: http://www.feminineforum.com/