I'm very new to this side. I joined a company as php trainee week ago. They've given me task. Its going okay. Now I'm getting problem is.
Employ Id: <input type="text" name="empid">
<input type="button" name="getemp" onClick="empvalidate();" value="get Employ">
<input type="button" name="process" value="process">
after click the validate button, if there is valid id given, then i immediately need one message in alert box that contains respective employ name which needs to be taken from database. This message is just for confirmation.
If ok, then click the process and process needs to take place.
Important thing is that I've only one page for this named empatt.php in this php file, there is one form having 2 buttons and 1 text and also coding for the process. Please let me know clearly how can i do this fully as i am beginner. Please tolerate English wording mistakes.
I'll be so grateful.