Cuzco Eats

Restaurant Search and Reads on Peruvian Food

Home



  Search Results


street: $street

"; $query = "select Name, Address, Telephone, Email, Web_Address, Hours from resta where Address like '%".$street."%'"; } else if(!empty($_REQUEST['submitservice'])) { $service = $_POST['service']; if(!get_magic_quotes_gpc()) { $service = addslashes($service); } //echo "

service: $service

"; $query = "select Name, Address, Telephone, Email, Web_Address, Hours, Special_Services from resta where Special_Services like '%".$service."%'"; } $queryStr = $name.','.$payment.','.$cuisine; //echo "

result_new: $queryStr

"; track($queryStr, 0, $_SERVER['REMOTE_ADDR']); @$db = new mysqli($host, $user, $password, $database); if(mysqli_connect_errno()) { echo 'Error: Could not connect to database. Please try again later'; exit; } ; $results = $db->query($query); if(!empty($results)) { echo_results($results, true); $results->free(); } else { print "

DB query failed!

"; printf ("

error: %s

", $db->error); } $db->close(); ?>