> On Wed, Sep 3, 2008 at 8:35 PM, David DURIEUX <d.durieux@xxxxxxxxxxxxx> 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. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php