Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have created a small web application using php and mysql for fetching data in mysql i have used stored procedure before hosting the application all worked fine but after hosting mysql stored procedure not fetching any data not showing any error and the query executing succesfull but no fetching occurs if we use query instead its working fine . Pls help me to solve this issue

Thanks in advance
Posted
Comments
SagarRS 10-May-13 0:20am    
Can u provide the code you are using to fetch the data from mysql
Member 9762654 10-May-13 0:30am    
$sql=mysql_query("call prcSelRole()");
$n=mysql_num_rows($sql);// always displays 0
echo $n;
Mohibur Rashid 10-May-13 1:16am    
try myslqi_ instead mysql_. mysql_ function is not doing very well with procedure
Member 9762654 10-May-13 2:16am    
ok let me try
Member 9762654 10-May-13 2:25am    
no its not working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900