@utech22 you need to run the insert queries separately, one after the other. preferably like this;
Code:
$query = "INSERT INTO computer (brand,type,..) VALUES ("Dell","Laptop",..)";
mysql_query($query);
if ( mysql_errno() | mysql_error() != '') {
Die('<div>A Database Error has Occured : '. mysql_errno().": ".mysql_error()."</div>");
}
$query = "INSERT INTO computer (brand,type,..) VALUES ("Dell","Laptop",..)";
mysql_query($query);
if ( mysql_errno() | mysql_error() != '') {
Die('<div>A Database Error has Occured : '. mysql_errno().": ".mysql_error()."</div>");
}
$query = "INSERT INTO computer (brand,type,..) VALUES ("Dell","Laptop",..)";
mysql_query($query);
if ( mysql_errno() | mysql_error() != '') {
Die('<div>A Database Error has Occured : '. mysql_errno().": ".mysql_error()."</div>");
}
get the point?