you could just add a small button who would connect to mysql and check if a specific id is available , so your not connected to mysql , and it will connect only on demand(and a simple request to see if an id already exist will really not slow down the process )
|