Hillhead, Glapton, Kingswear, Goodrington


Hillhead Galpton Goodrington Kingswear
Torquay Scrap Car
prepare($sql); $query_result = $stm->execute(); $res12 = $stm->fetchAll(); // $count = mysql_result($query_result, 0, 'car_count'); $count = $res12[0]['car_count']; //$count = 31; // TODO Fix this - should perform ""; $x = 1; for ($i = 1; $i <= $count; $i += $perpage) { ?>

prepare($query); $query_result = $stm->execute(); $count = $stm->rowCount(); $res12 = $stm->fetchAll(); $query = "SELECT * FROM fokm_best_copy WHERE town = 'brixham'"; // // $query_result = mysql_query($query); $stm = $con->prepare($query); $query_result = $stm->execute(); $count = $stm->rowCount(); $res12 = $stm->fetchAll(); if ($count > 0) { for ($i = 0; $i < $count; $i++) { //if (in_array(mysql_result($query_result, $i, 'make'), $makePermissions) && in_array(mysql_result($query_result, $i, 'area'), $areaPermissions)) { echo "
  • " . (is_numeric($res12[$i]['make']) ? getMake($res12[$i]['make']) : $res12[$i]['make']) . " " . $res12[$i]['model'] . " " . $res12[$i]['year'] . " " . (is_numeric($res12[$i]['area']) ? getArea($res12[$i]['area']) : $res12[$i]['area']) . " " . $res12[$i]['town'] . " " . date("h.ia", strtotime($res12[$i]['datetime'])) . "
"; //} } } ?>