php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64619 mysql_query issue
Submitted: 2013-04-10 05:08 UTC Modified: 2013-04-10 19:14 UTC
From: clone_12 at ymail dot com Assigned:
Status: Wont fix Package: MySQL related
PHP Version: 5.4.13 OS: Linux/Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
44 + 23 = ?
Subscribe to this entry?

 
 [2013-04-10 05:08 UTC] clone_12 at ymail dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-10 09:13 UTC] aharvey@php.net
We are sorry, but we can not support PHP 4 related problems anymore.


 [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
Please log bugs with descriptive subject line.  Be clear about the environment 
and the actual output.
 [2013-04-10 19:14 UTC] sixd@php.net
-Summary: Functions +Summary: mysql_query issue
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC