|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-04-10 09:13 UTC] aharvey@php.net
[2013-04-10 09:13 UTC] aharvey@php.net
-Status: Open
+Status: Wont fix
-Package: *General Issues
+Package: MySQL related
[2013-04-10 19:14 UTC] sixd@php.net
[2013-04-10 19:14 UTC] sixd@php.net
-Summary: Functions
+Summary: mysql_query issue
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 11:00:02 2025 UTC |
Description: ------------ using two or more procedure in php 4 Test script: --------------- $sql = mysql_query("CALL emp_master_list();"); while($row = mysql_fetch_array($sql)){$x++;} echo "$x <hr/>"; $sql = mysql_query("SELECT * FROM employee_information"); while($row = mysql_fetch_array($sql)){$v++;} echo "$v <hr/>"; $sql = mysql_query("CALL emp_master_list();"); while($row = mysql_fetch_array($sql)){$z++;} echo "$z <hr/>"; Expected result: ---------------- functions/fix bug Actual result: -------------- error