You are here: Re: Variable doesn't get populated « All PHP « IT news, forums, messages
Re: Variable doesn't get populated

Posted by J.O. Aho on 10/20/05 21:31

Raj wrote:
> Hi,
>
> If I enter in a browser
>
> http://localhost/~raj/fdd/start.php?s=tfdd
>
> The folllowing script outputs
>
> 9tfdd99
>
> It appears that the script doesn't get as far as the SQL. I don't know why. I
> dontl get informed of any errors.
>
> $num does not get populated. I think it should be 0 if the query above it
> returns no values. Can someone tell me why it doesn't get populated at least
> with a zero..

If you want error outputs, then remove the @ that you have in front of some of
the functions in your script.


//Aho

 

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

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