Hi Mac
Everything is working fine with my application, but one thing worries me on update and delete, when I click the link update or delete from list, it shows an ERROR in this two pages, the error is: Notice: Undefined index: car_name in C:\Program Files\EasyPHP-5.3.3\www\delete.php on line 27, the following code is for delete page :
Language: PHP
$getid = $_GET[';car_id';];
$car_name = $_GET[';car_name';];
$car_model = $_POST[';car_model';];
$year = $_POST[';year';];
$price = $_POST[';price';];
$submit = $_POST[';delete';];
$query = mysql_query(';SELECT * FROM cars WHERE car_id = "'; . $getid . ';"';);
$rows = mysql_fetch_assoc($query);
$carnamedb = $rows[';car_name';];
$car_modeldb = $rows[';car_model';];
$yeardb = $rows[';year';];
$pricedb = $rows[';price';];