db_connect(); global $db_host, $db_user, $db_pass , $db_name ; $dcon=mysqli_connect($db_host,$db_user,$db_pass,$db_name) or die(mysqli_error()); $Query=$dbCon->slctQuery('indexcon','*', 'where indID=1'); $index=mysqli_fetch_array($Query); extract($index); $Query_1=$dbCon->slctQuery('coupon','*', 'where Cid=1'); $row_A=mysqli_fetch_array($Query_1); extract($row_A); function get_amenities() { $q1 = "SELECT 0id, AmenitiesContent FROM amenities"; $incart_r = mysqli_query($dcon, $q1) or die(mysqli_error()); $row=mysqli_num_rows($incart_r); $contents = array(); while($incart = mysqli_fetch_array($incart_r)){ $item = array( $incart['0id'], $incart['AmenitiesContent']); array_push($contents,$item); } return $contents ; } ?>

Villa Knolls Apartments, For Rent Apts - La Mesa 91942 | RentVillaKnolls.Com