Use an if function, for example:
PHP Code:
if(isset($_POST['hardware'])){ // get other }
Or even better, put both of these in the shame field using an array:
PHP Code:
$hardware[0] = $_POST[form0] $hardware[1] = $_POST[form1]
$hardware = serialize($hardware);
// Now put $hardware into the database. // To get array back to norm, use the unserialize function :)
__________________
My Blog/Site: Please login or register to view this content. Registration is FREE
|