RE: [PHP] error message while mysqling on php

2005-09-14 Thread Michal Krezolek
PHP] error message while mysqling on php I see two things that could be it. #1 your $result is not $result = mysql_query("queryline"); Or #2 your syntax on your query line is bad. You can try doing something like this: $query = "SELECT * FROM table etc blah"; $resul

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Alan Fullmer
3:05 PM To: 'Michal Krezolek'; php-general@lists.php.net Subject: RE: [PHP] error message while mysqling on php > I have received an error: Warning: mysql_num_rows(): supplied argument is > not a valid MySQL result resource in /home/www/mksystem.net when trying to > execute $num

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Murray @ PlanetThoughtful
> I have received an error: Warning: mysql_num_rows(): supplied argument is > not a valid MySQL result resource in /home/www/mksystem.net when trying to > execute $num = mysql_num_rows($result); > > Please go to http://mksystem.net/phpinfo.php and tell me whether it is due > to the version of php

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Jay Blanchard
[snip] I have received an error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/mksystem.net when trying to execute $num = mysql_num_rows($result); [/snip] Post a little code and we might be able to help you. It is likely that $result is not the vari