MySQL Forums
Forum List  »  PHP

Re: php and stored procedures
Posted by: Ulf Wendel
Date: January 18, 2006 04:25AM

Martin Keck wrote:
> I was wondering how I can use the new stored
> procedures functionality of mysql 5 via php?

Check the first comment on http://de2.php.net/manual/en/function.mysqli-query.php

> Whenever I try to call a stored procedure via a
> php mysql_query() call, it returns something like
> "PROCEDURE test.test_proc can't return a result
> set in the given context".
> What's wrong?

E_USE_OF_EXT_MYSQL, please use ext/mysqli.

" This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi.",
http://de2.php.net/manual/en/ref.mysql.php

" The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at http://www.mysql.com/";,
http://de2.php.net/manual/en/ref.mysqli.php



Ulf

Options: ReplyQuote


Subject
Written By
Posted
January 17, 2006 08:20AM
Re: php and stored procedures
January 18, 2006 04:25AM
January 19, 2006 10:04AM
January 20, 2006 03:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.