Hi. How did you check that Query 2 has been executed?
You may add to your php.ini file mysql.trace_mode = On to see some warnings and errors. Yahoo Default User <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I have a problem with MySQL in conjunction with PHP so > I also decided to post here: > > I have a PHP script that contains two consecutive > MySQL queries, something like this: > > Query 1: Delete some rows from Table A > Query 2: Insert some rows into Table A > > The problem is, only Query 2 seems to be executed. > Query 1 is not executed at all. > > I tried running the script with only Query 1 and it > worked. However, when I put back Query 2, then the > problem comes back. > > What can be causing this problem? How do I solve this > problem? Any help would be appreciated. Thanks! > > > > __________________________________ > Do you Yahoo!? > Check out the new Yahoo! Front Page. > www.yahoo.com > > > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]