'; include_once ('header.php'); // Include the HTML header file. loginCheck(); ?>

Schedule a Property Booking

Query was: \n
".$insertquery); if ( !$insert ) { if ( mysqli_errno($dbcrent) == '1062' ) { echo 'Duplicate entry error: This property is already booked for those dates.'; } else { include 'technical.php'; } include 'footer.php'; exit; } if ($insert) { echo "

The property has been blocked out as reserved.

"; echo ''; } } if (isset($_POST['selectlisting']) ) { //process the form $listing_id = mysqli_real_escape_string($dbcrent,trim($_POST['listing_id'])); $getaddress = mysqli_query($dbcrent, "SELECT address FROM rentals WHERE listing_id = $listing_id") or trigger_error("Bad getmls: " . mysqli_error($dbcrent)); if (mysqli_num_rows($getaddress) > 0 ) { $row = mysqli_fetch_array($getaddress); $address = $row['address']; echo '

'.$address.'

'; } echo '
Start Date: (format YYYY-MM-DD e.g. 2008-05-06)
End Date: (format YYYY-MM-DD e.g. 2008-10-22)
'; // echo "query:
".$update; //exit; // $to = 'suncoast@tropworks.com'; // $subj = 'mulligan schedule rental'; // $msg = $update; // mail($to, $subj, $msg); // if ($result) { // echo "

The property has been blocked out as reserved.

"; // echo "
  • Back to admin
  • "; // } } // else { // select the listing if ( !isset($_POST['datessubmitted']) && !isset($_POST['selectlisting']) ) { echo "

    Select listing to edit:

    "; ?>
    0 ) { echo ""; } ?>