Reply to Re: get results only sometimes

Your name:

Reply:


Posted by Stefan Rybacki on 09/25/05 20:31

Bob Bedford wrote:
>>> Hi Stefan, thanks for the reply-
>>> Actually we got the error from the php code in the site.
>>> the query on the dev machine (XP) doesn't get this error. It actually
>>> works
>>> on the server (Linux) I can't test on the console, and it fails, in
>>> our PHP code and in the phpmyadmin code.
>>>
>>> So I can't test like you said.
>>>
>>
>> Do you get any errors, in the case there are no results?
>>
>> Stefan
>
>
> that's the strangest thing: there is no error at all. Not in phpmyadmin
> nor in my php code, then I test the mysql_query, I get no error and the
> code continue (as I always chech the result of the mysql_query).
>
> If I got any error it would be far easier

Well did you query like this?

mysql_query("...") or die(mysql_error());

means do you check for a successful query or do you just query without any boolean check.


Stefan


> Bob
>

[Back to original 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

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