Quote:
Originally Posted by River_rush
Missing the table prefix from the xml code, it works if you edit the line after // Get Cars from database to read
Code:
$cars = $this->registry->db->query("SELECT uv.vehicle_id, model.model, make.make FROM " . TABLE_PREFIX . "garage_user_vehicle uv, " . TABLE_PREFIX . "garage_makes make, " . TABLE_PREFIX . "garage_models model WHERE uv.make_id = make.id AND uv.model_id = model.id AND uv.user_id = '".$post[userid]."' ORDER BY uv.main_vehicle DESC");
if($this->registry->db->num_rows($cars) > 0) {
|
hmm even with this mod i still get an error

using latest vb 3.8