G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<option value="">Select SubHeads</option> <?php $q=$_GET["y"]; include('config.php'); if($q == 'Hotel') $hotels = $js->prepare('SELECT * FROM `hotelreservations` WHERE custid = :q '); $hotels->execute(array(':q' => $q)); while($rowserp = $resultserp->fetch(PDO::FETCH_ASSOC)) { $hotel = $rowserp['hotel']; } $hotels = $js->prepare('SELECT * FROM `travelassistance` WHERE custid = :q '); $hotels->execute(array(':q' => $q)); $hotelcount = $hotels->rowCount(); if($hotelcount > '0') { echo "<option value='Transportation'>Transportation</option>"; } $hotels = $js->prepare('SELECT * FROM `otherservices` WHERE custid = :q '); $hotels->execute(array(':q' => $q)); $hotelcount = $hotels->rowCount(); if($hotelcount > '0') { echo "<option value='Other Services'>Other Services</option>"; } ?>