Hi, I've tried several of the fixes for this that I've found on here, but I haven't been able to find a work around.
Here is the code that I'm having the trouble with:
mysql_select_db($db_name,$db);
$result = mysql_query("SELECT * FROM pages WHERE pagenumber LIKE $pagenumber ",$db) ;
while ($myrow = mysql_fetch_array($result)) {
This is the error message I get on my site:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/Target01/327952/328384/www.liquidskin.com/web/content/xcart/templates_c/customer^main^welcome.tpl on line 25