|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-07-06 17:04 UTC] cmb@php.net
-Type: Bug
+Type: Documentation Problem
[2021-07-06 17:04 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 05:00:01 2025 UTC |
Description: ------------ PDO::ATTR_EMULATE_PREPARES and connect->quety('UPDATE 1 SLQ; UPDATE 2 SQL') problem Test script: --------------- $this->connect->setAttribute(\PDO::ATTR_EMULATE_PREPARES,false); $q2=[]; $q2[]='UPDATE `users` set `has_trialPeriod`=0,`last_changedBalance`=1539846901 where id=1'; $q2[]='UPDATE `users` set `balance_usd`=(`balance_usd`-99990000) where id=1'; $q=implode(';', $q2); $this->connection->query($q); got err Actual result: -------------- GOT SQL ERR