include("includes/config.php");
if($_GET['action'] == 'get_Models')
{
$Make = $_GET['Make'];
{
$query = "SELECT cid, Model, Engine FROM $dbName.data WHERE Make = '$Make'";
$result = mysql_query($query, $connection) or die ("Error in query: $query. " . mysql_error());
$num_rows = mysql_num_rows($result);
$num_results = "results";
if ($num_rows == 1){$num_results = "result";}
{
echo "Your search returned $num_rows $num_results
Use the following links to retrieve more detailed information about the improved performance AutoRemap can give to your car.
";
echo "
| ";
echo "$Model $Engine "; echo " | |
| $Make $Model - $Engine | |
| Contact Autoremap about improving an $Model $Engine | |
| Standard PS - |
Tuned PS - |
| Standard Torque - |
Tuned Torque - |