Hi ive been trying to fix this but i keep getting the error
mysql_fetch_array(): supplied argument is not a valid MySQL result resource. can someone help me with this? please.
when i remove the Row_Number() OVER (ORDER BY shopname ASC) AS rownumber part the script works just fine. im trying the number my results when they display.
$query = "SELECT * , Row_Number() OVER (ORDER BY shopname ASC) AS rownumber
FROM table
ORDER BY shopname";
$result = mysql_query($query);
while($data = mysql_fetch_array($result))
thank you very much.
mysql_fetch_array(): supplied argument is not a valid MySQL result resource. can someone help me with this? please.
when i remove the Row_Number() OVER (ORDER BY shopname ASC) AS rownumber part the script works just fine. im trying the number my results when they display.
$query = "SELECT * , Row_Number() OVER (ORDER BY shopname ASC) AS rownumber
FROM table
ORDER BY shopname";
$result = mysql_query($query);
while($data = mysql_fetch_array($result))
thank you very much.