You are here: Re: Commands out of sync error « PHP Programming Language « IT news, forums, messages
Re: Commands out of sync error

Posted by Marlin Forbes on 09/27/65 12:00

Ratfish wrote:
> root user record to establish a connection. I'm essentially opening a
> connection at the top of the php page and then calling multiple stored
> procedures to fetch data. When I call the 2nd stored procedure I'm
> getting the error. Any info would be greatly appreciated.

Hi Ratfish,

I think you must free the resultsets from the stored procedures before
opening another one. Look at mysql_free_result if you're using the mysql
extension, or mysqli_stmt_free_result if using the mysqli extension.

Regards,
Marlin Forbes
Data Shaman
datashaman.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация