I am writing some fancy code and I decided that the MySQL (can't jump to...) error was not what I wanted my users to see when they got the wrong page ID. So i changed the code to:
$body = mysql_result($data,0,"Body") or die("Page not found!");
Sadly however it still returns:Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 5 in C:\web-server\thehub\framed.php on line 11 Page not found!Well at least i managed to get the Page not found! part in, so anyone know how to remove the MySQL generated part??


Sign In
Create Account


Back to top









