format('%y'); $sql="INSERT INTO `company` (`id`,`code`,`name`,`address`,`trunk_line`,`fax_number`,`email`) VALUES('','$compCode','$compName','$compAddress','$tLine','$fNumber','$cEmail')"; if(!mysql_query($sql)){ die('Error: ' . mysql_error()); }else{ echo "
ADD DEALER UNDER ".$compName."
Click Add New Dealer button if you wish to add new dealership under this company
Add New Dealership