Thanks, That worked fine... this is all new to me still...
my other question was this... i wanted to add a unique identification number to the table and it workes for the first one with this code but on the second one is says that it is a duplicate key 1... here is the code...
$query = "insert into $table (uid,lastname,firstname,membernumber,certification_number,address1,address2,address3,city,state,zip,workplace,work_address,class,district,job_description,pager,cell,home,work,fax,email,committees) values (1,'".$lname."','".$fname."','".$mnumber."','".$certnumber."','".$add1."','".$add2."','".$add3."','".$city."','".$state."','".$zip."','".$workplace."','".$workadd."','".$class."','".$district."','".$jobdescript."','".$pager."','".$cell."','".$home."','".$work."','".$fax."','".$email."','".$committees."')";
i think the problem is where the number 1 is... what should i put there so that it does the automatic integer? should i just put uid?