Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in config.php on line 60
I have checked a previous thread and they said it was due to the '' in the select statement.
But I dont think this is the case here.
All I did was to get this error was to make functions and use those funcitons to run mysql commands like mysql_query, mysql_num_rows, etc in functions and then call those functions rather than calling the commands to be run over and over again (I tired to make it abit more OO but have run into this error).
Any help be appericated? Even a small example on how to use a mysql command in a php function and then call that function to be used in the main, thanks.
Thanks, Regards X