|
This codes third line is give an error message on all pages of my web site.
<?
$sql = "SELECT * FROM tb_config WHERE item='click' and howmany='1'";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
The error message says the following
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/moneybux/public_html/index.php on line (number of line on page)
Can someone help me out to resolve this issue please.
|