123 Main St.
Norfolk, VA 23510";
$order = "Large Veggie";
}
elseif ($phone_nr == "5551234") {
$address = "
456 Oak St."; $order = "Medium Pepperoni"; } else { $address = ''; $order = ''; } // create a response object $response = array(); $response['address'] = $address; $response['order'] = $order; // set the content type header('Content-Type: application/json'); // JSON encode the object and return it echo json_encode($response); ?>
Virginia Beach, VA 25239