Hello,
I should apologize first, this is probably a silly question. I am trying to get my primary key which is a unsigned, auto_increment int, to print to the results page when the submit button is pressed. I can't seem to find any documentation on how to do this. Since I'm not putting any information into that Variable, mysql is doing all that. Here is my code, Please help.
$result= mysql_query ("INSERT INTO defect (processor, processortype, speed, brief, os)VALUES('$processor','$processortype','$speed','$brief','$os')");
if ($result)
echo mysql_affected_rows()." Defect Entered into Database";
echo ("Here is your defect number: $defectid")
Thank you very much for your assistance.