yes I do..
Here is the scenario..
User fills out a form, name, blah, blah, etc.
But when it writes to the DB I want to add this specific ID to the same row as the other fields.
Here is the code so far:
$sql = "INSERT INTO Pilots (Name, State, Country, Email, Passwd, BirthDate, Vatsim, BVIAccount, HubID) VALUES ('$fullname', '$state', '$country', '$email', '$passwd', '$birthdate', '$vatsim', '$bviaccount', '$hub')";
$result = mysql_query($sql);
echo "<b>Thank you!</b> Your Information has been entered.";
This all works from the form and gets an auto assign single numeric ID in the PilotID field..
What I want to do is have lets say ZAV1001 for the first person to sign up and then when the next one signs up, it will get ZAV1002 or the next available..!!
Is this possible..?
I know it works on the asp side.
But I want to learn more Php so using this as a learning tool..
thanks
Scott