Afficher un message
Vieux 26/04/2006, 11h36   #2
andreas.maurer1971@web.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: INSERT query runs in mysql client, but not in PHP.

smedstadc schrieb:

> Hi, I'm learning the ropes with PHP and MySQL at the moment, and I've
> run into a puzzle. I'm using PHP to process a form and insert some

[skip]

Stupid question of mine:
Did you open a Database connection (mysql_connect()) and is it really
active while you try to execute your SQL?

I once had a similar problem and searched for hours until I realized
that the error wasn't within the SQL- Statement or the rest of the PHP-
conde but a missing mysql_connect() at the beginning.

HTH,

Andy

  Réponse avec citation
 
Page generated in 0,04593 seconds with 9 queries