Re: Probleme with MySQL queries
| From: | Dee Ayy | Date: | Wed, 03 Sep 2008 18:47:02 +0000 |
| Subject: | Re: Probleme with MySQL queries | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45341@lists.php.net to get a copy of this message | ||
> 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.