My database has a table named tbltest . in this there is column id that is set to auto increment and another column is named as app_id .
What i want here is i want to generate app_id when someone visit My Form page Called apply.php and submit application form there. is it possible to get the last inserted id in table and get the corresponding app_id generated for that id and generate new app_id on submit the form page.
Now As there is last inserted id is 1 and app_id is IVISA250531 , So, When We Submit the form, it Should generate Next app_id that Should be,
IVISA250532