Car Sales, new and used  imports and non-importsAlarms, Immobilizers CAT 1 and CAT 2,  Custom systemsInCar entertainment systems of all shapes and sizesServicing for all makes of vehiclesPerformance add-ons for your vehiclenternal and External StylingAccessories for all makes of vehiclesPicture Gallery of vehicles and events
 

";} //connect to mysql database within server $DBsel = mysql_select_db("moo_fl2",$connect) or die ("DB ERROR");//and check connected //set the query line(update) $insert = "select * from car_sales"; //echo "ACTION = $insert";//print action used so can see what is being sent to mysql //do query $DBsel2 = mysql_query($insert,$connect);//$BDsel = true if works //check inserted ok //if ($DBsel2) {echo "
Table write Sucessful
";} //else {echo "Table write Failed";} //print amount of rows (has no effect on query) //$amount = mysql_num_rows($DBsel2); echo "
number of rows = $amount
"; $a = 1; //list row while($row = mysql_fetch_array($DBsel2))//keep doing this till there is no more data then = false so stop { echo '
     

'.stripslashes($row['title']).',
'.stripslashes($row['discription']).'
£'.stripslashes($row['price']).'

'; $a++;//make a$ +1 each time }//end of while statement //echo $data[1];//prints first value and so on to check array is working ?>