Reply to Re: mysql_num_rows HELP

Your name:

Reply:


Posted by Anonymous on 04/04/06 16:57

Dejan wrote:
>
> Hi
>
> Sorry for my terreble english.
>
> On my local (win) comp i have apache+mysql+php 4.05
> I'm counting rows using mysql_num_rows function, and everything works fine.
> When i upload php file on server it says:
>
> Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
> resource in /home/optikara/public_html/crosun/izn/insert_form.php on line 80
> Server runs php 5.0.5
>
> Code is:
[...]
> On my local comp this works. Plz any solution, in plain simple code:)))
> tnx in advance.
> Dejan

If it works at home then most likely the database connect code fails to
connect on the server.

Check the user and password parameters in your database connect code and
make sure they are correct on the server.

Bye!

[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

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