Ahhhh, yeah, you are probably right... this is just a test run but still good point...
ok, so here is my final dilema of the night... my eyes can't hack it much longer...
This is what i came up with from the earlier help... something is wrong with my syntax obviously bc it is not working... no error, just not working...
// here if no ID then adding else we're editing
if ($id) {
$sql = "UPDATE membinfo SET firstname='$firstname',lastname='$lastname',membernumber='$membernumber',license_number='$license_number',address1='$address1',address2='$address2',address3='$address3',city='$city',state='$state',zip='$zip',workplace='$workplace',workaddress='$workaddress', workcitystatezip='$workcitystatezip',class='$class',district='$district',job_description='$job_description', addschool='$addschool', addschool2='$addschool2', addschool3='$addschool3', pager='$pager',cell='$cell',home='$home',work='$work',fax='$fax', email='$email' WHERE id=$id";
} else {
$sql = "INSERT INTO membinfo (id,firstname,lastname,membernumber,license_number,address1,address2,address3,city,state,zip,workplace,workaddress,workcitystatezip,class,district,job_description,addschool,addschool2,addschool3,pager,cell,home,work,fax,email) VALUES (id,'$firstname','$lastname','$membernumber','$license_number','$address1','$address2','$address3','$city','$state','$zip','$workplace','$workaddress','$workcitystatezip','$class','$district','$job_description','$addschool','$addschool2','$addschool3','$pager','$cell','$home','$work','$fax','$email') ALTER ORDER BY lastname";
$sql2 = "ALTER TABLE membinfo ORDER BY lastname";
}
// run SQL against the DB
$result = mysql_query($sql);
mysql_query($sql2);
echo "Record updated/edited!<p> <a href=\"adminupdate.php\">Back to update page</a>";
why can't this stuff be easier for me! haha...