Getting the following runtime error messages on a Solaris server, Mysql
4.1.7
PHP 5.0.1:
I try to search and:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /data/labweb/htdocs/getit/search010.php on line 123
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /data/labweb/htdocs/getit/search010.php on line 175
1. Line 123: for( $i = 1; $row = mysql_fetch_array($result); $i++ )
{...
Line 175: $num_rows = mysql_num_rows($result);
2. The $result variable causing the problem is from a FullText query.
Another $result variable done with a non-fulltext search (ie. a non
indexable sub-string %keyword% search) in the same script works fine and
does not cause errors.
3. The same exact script works fine on my windows "localhost" test pc.
w/php 4.3.6,Mysql 4.1.3.
What could be the cause?
Thanks,
Lee G.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]