<body background="blater01.gif" topmargin=0>
<?php include ("../../include/dbconnect.php");

 
# INCREMENT THE BUYERCODE BY FINDING THE MAXIMUM NUMBER

 
 
 
  
if (!empty($bcode) && !empty($bname))
{

$query="insert into company values('$bcode','$bname','$baddress1','$baddress2','$bcity','$bstate','$country','$bpin','$bemail','$bst','$bcst','$tin','$bstd','$btelno','$bfax','$bgram','$contact','$area','$buyertype','$brcode','$account_year',NULL)";

	mysql_query($query) or 	die(mysql_error());
}
?>
<h2>
	<h2>Thanks !! </h2>
	<h2><a href= "view.php"> View Company !!! </a></h2>


<br><br><font size=1><center><a href= "index.html">Return to index page</center></font>


