HI
Iam new to the php create one procedure that is worked in mysql prompt good ,but i call the same procedure with php code as
$result= mysql_query("call procname()");
print_r($result);

It doesnot dispalys the records in place of that an error comes like:

user error: PROCEDURE can't return a result set in the given context .

What can i do ? i want to dispaly the result set of that records.