You are here: Re: [PHP] Problem serializing a mysqli_result object. « PHP « IT news, forums, messages
Re: [PHP] Problem serializing a mysqli_result object.

Posted by "Richard Lynch" on 07/07/05 23:54

On Thu, July 7, 2005 12:53 pm, Bjarke Freund-Hansen said:
>>You can't serialize resource objects. Try:
>>
>>serialize($res->fetch_assoc());
>>
>>
> I know I can serialize the array fetch_assoc returns, but I really need to
> serialize a mysqli_result, so I can feed it to any function expecting a
> mysqli_result.

The connection simply WILL NOT survive the ending of a PHP script.

Period.

If you want to hack the PHP source to try to change that, go for it...

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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