416 - 936 - 8369 info@VausAuto.com
query($sql); $result = mysqli_query($conn,$sql); if ($result->num_rows > 0) { $data = array(); $i = 0; //while($row = mysqli_fetch_assoc($result)) while($row = $result->fetch_assoc()) { $data[$i] = $row; //$data[$i]['product_image'] = 'image_name'; $sql1 = "SELECT image_name FROM product_images WHERE product_id=".$row['id']." LIMIT 0,1"; $rs = $conn->query($sql1); if($rs->num_rows > 0) { $row1 = $rs->fetch_assoc(); $data[$i]['product_image'] = $row1; } else $data[$i]['product_image'] = array('image_name'=>'no_image.jpg'); $i++; } /*echo '
';
	print_r($data);
echo '
';*/ } ?>
Body Style:
Mileage:
Transmission:
Drivetrain:
Engine:
Price: $0
'; } ?>
Some of Our Featured Brands
  • Image 1
  • Image 2
  • Image 3
  • Image 4
  • Image 5
  • Image 6
  • Image 4
  • Image 5
  • Image 6