boon_chong Posted May 25, 2007 Share Posted May 25, 2007 Let's say I've input form, when I type in the data in the first input column, and after I use tab key to move to next input column, it will search the database, if it find an record, it will display out at the rest of input column, can I do that? Link to comment https://forums.phpfreaks.com/topic/52933-need-help/ Share on other sites More sharing options...
cavey5 Posted May 25, 2007 Share Posted May 25, 2007 You could use javascript to redirect you to a new page, which is a ph script that does a SELECT where $variable = "whatever they entered in that first text box" and if num_rows > 0 then return to that page, and populate the boxes with all of the variables from that row, using the POST method. So, yes. Link to comment https://forums.phpfreaks.com/topic/52933-need-help/#findComment-261399 Share on other sites More sharing options...
boon_chong Posted May 25, 2007 Author Share Posted May 25, 2007 May I have an example? Link to comment https://forums.phpfreaks.com/topic/52933-need-help/#findComment-261414 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.