Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 253 Bytes
<?php
$db = mysqli_connect('localhost', 'user', 'Restaurants', 'Restaurants');
// Connection error detection
if (mysqli_connect_errno()) {
echo("Could not connect to database: ".mysqli_connect_error());
exit;
}
$table = 'RestaurantInfo';
?>