and then i also have a query in which it gets the matching name for that id.
sample : sql = "select name from names where id = '".$id."'";
how can i implement this concept in which, you can input the id and then the name of that corresponding id which automatically display in the name textbox..
Expand|Select|Wrap|Line Numbers
- <label>Id</label>
- <input type="text" name="id" id="id"/>
- <label>Name</label>
- <input readonly="text" name="name" id="name" value="" />