Re: Probleme with MySQL queries

From: Date: Wed, 03 Sep 2008 18:50:38 +0000
Subject: Re: Probleme with MySQL queries
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.db 
Request: Send a blank email to php-db+get-45343@lists.php.net to get a copy of this message
Bonjour, PHP 5.2.6 on FreeBSD 7.0 i386 associate with apache 2.0.63 Cordialement, David DURIEUX Tel : 04.74.04.81.34 Port : 06.34.99.45.18 Mail : d.durieux@siprossii.com Site Web : http://www.siprossii.com/ SIPROSSII 847 route de Frans (Créacité) 69400 Villefranche sur Saône Le Wed, 3 Sep 2008 13:47:02 -0500 "Dee Ayy" <dee.ayy@gmail.com> a écrit: >> On Wed, Sep 3, 2008 at 8:35 PM, David DURIEUX >> <d.durieux@siprossii.com> wrote: >>> Bonjour, >>> >>> I have always the problem, select = 0 rows and it delete it like if >>> delete is before the select :/ >>> >>> Cordialement, >>> >>> David DURIEUX > >Your SELECT has a terminating semicolon. Your DELETE does not. Some >configurations of PHP do not execute from the mysql_query function if >the query is terminated with a semicolon. > >What version of PHP are you using? >I wish I knew what flags to also ask about that affect the semicolon. >If in fact your problem is the semicolon. >

« previous php.db (#45343) next »