I'm getting this error when I upload the script to my webserver. However, it runs fine on my local installation. Am I right in thinking it's something to do with the way the remote server is configured, and if so, any ideas what I can do about it?
In my PHP script, I use the following line of code to select the data:
Code:
$result = mysql_query("SELECT * FROM tab1 WHERE catno=$formitem",$db);
Code:
<?php printf(mysql_result($result,0,"text1")) ?>
When the script runs, it says the error was caused by the second line of code.
Any ideas much appreciated!
Cheers,
RMP