MySQL Forums
Forum List  »  Newbie

Re: Same QUERY not working on PHP and works in MySQLWorkbench
Posted by: Michal Mular
Date: July 10, 2023 01:56PM

Dear Barry

Thank you, problem solved! That's true I should use mysqli->multi_query(); in php scirpt. I lost ";" when copy-paste.

The reason was multiple commands in SQL query.
After that i received the next error, because you can execute USE mmike_devtest; only once :) also fixed.

Best regards, Michal

Options: ReplyQuote


Subject
Written By
Posted
Re: Same QUERY not working on PHP and works in MySQLWorkbench
July 10, 2023 01:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.