get_results(“select Name from my_table”);

//$wpdb->select(‘landlord_daranow_members’);
$mydb ->select(‘landlord_daranow_members’);
wp_cache_flush();

$query = “SELECT * FROM properties ORDER BY RAND()”;
$result = mysql_query($query);
$row = mysql_fetch_array($result);

$property_id = $row[property_id];
$owner_id = $row[owner_id];
$bedrooms = $row[bedrooms];
$bathrooms = $row[bathrooms];
$sqft = $row[sqft];
$type = $row[type];
$rent = $row[rent];
$deposit = $row[deposit];
$cats = $row[cats];
$dogs = $row[dogs];
$pet_description = $row[pet_description];
$description = $row[description];
$heat = $row[heat];
$electric = $row[electric];
$cooking_gas = $row[cooking_gas];
$water = $row[water];
$garbage = $row[garbage];
$ac_window = $row[ac_window];
$ac_central = $row[ac_central];
$dishwasher = $row[dishwasher];
$wd_inunit = $row[wd_inunit];
$coinop_onsite = $row[coinop_onsite];
$hookups_gas = $row[hookups_gas];
$hookups_electric = $row[hookups_electric];
$electric_stove = $row[electric_stove];
$gas_stove = $row[gas_stove];
$refrigerator = $row[refrigerator];
$dishwash = $row[dishwash];
$balcony = $row[balcony];

$floor = $row[floor];
$building_type = $row[building_type];
$garage = $row[garage];
$parking = $row[parking];
$lawncare_snowremoval = $row[lawncare_snowremoval];
$walkin_closets = $row[walkin_closets];
$swimming = $row[swimming];
$workout = $row[workout];
$address = $row[address];
$city = $row[city];
$state = $row[state];
$zip = $row[zip];
$available = $row[available];
$unit = $row[unit];

$queryA = “SELECT * FROM property_images WHERE property_id='”.$property_id.”‘”;
$resultA = mysql_query($queryA);
$rowA = mysql_fetch_array($resultA);

$img_url = $rowA[img_url];

?>


Address Unit Type Bedrooms Bathrooms Rent
“>
“>

select(‘landlord_daranow_main’);
wp_cache_flush();
?>