You are here: Re: [PHP] Strange problem with DB queries « PHP « IT news, forums, messages
Re: [PHP] Strange problem with DB queries

Posted by Richard Lynch on 05/04/05 03:20

On Mon, May 2, 2005 4:07 am, George Pitcher said:
> On page y, I've echoed the queries and they work fine when I paste them
> into
> MySQLCC. However, if I do print_r($row), I get an ampty array. Echoing the
> $result gives me Object id #3 (on page x this is Object id #6).
>
> I have another popup window which is used to build xml output etc and the
> queries (some using the same functions) seem to wortk there.

How are you handling error conditions returned from MySQL?
Checking mysql_error()?
Ir not, try that first.

If you are, and MySQL is giving different results for the same query, you
must have some kind of pre-condition or other factor you are missing...

--
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

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