// Trigger an error condition
function showerror()
{
if (mysql_errno() || mysql_error())
trigger_error("MySQL error: ".
mysql_errno().
" : " . mysql_error(),
E_USER_ERROR);
else
trigger_error("Could not connect to DBMS",
E_USER_ERROR);
}
?>
Warning: Undefined variable $RestID in /home/sfolse/sfolse.net/root/restaurants/bcs/show_restaurant.php on line 9
Warning: Undefined variable $Restaurant in /home/sfolse/sfolse.net/root/restaurants/bcs/show_restaurant.php on line 22
Deprecated: urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sfolse/sfolse.net/root/restaurants/bcs/show_restaurant.php on line 22
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/sfolse/sfolse.net/root/restaurants/bcs/show_restaurant.php:28
Stack trace:
#0 {main}
thrown in /home/sfolse/sfolse.net/root/restaurants/bcs/show_restaurant.php on line 28