PHP code using in Window OS (EasyPHP environment) works well without any problem. But the same PHP code moved to Red Hat Linux 9 do not work, and get following error;
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/Inventory/phpcode.php on line 25
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/Inventory/phpcode.php on line 35
Do I need extra configuration for php in Linux OS ?
😕