|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-27 10:04 UTC] tony2001@php.net
[2006-11-27 15:42 UTC] wijet at o2 dot pl
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 21 23:00:01 2025 UTC |
Description: ------------ I have problem when I run query after this procedule call mysqli_query('CALL my_procedure('.$foo.')') I always get error "Commands out of sync; you can't run this command now",on mysql docs I read that I must use mysqli_free_result but this do nothing. I try use php-5.1.6 ,5.2.0 an 5.2 latest cvs but for all version i get this error. Reproduce code: --------------- mysqli_query('CALL my_procedure('.$foo.')') mysqli_query('SELECT * FROM test') Expected result: ---------------- execute query Actual result: -------------- "Commands out of sync; you can't run this command now"