h3ktlk Posted May 30, 2008 Share Posted May 30, 2008 What i want to do is have a text field in a form so when a user starts typing it will start to autofill the rest or give a choice based on entries from a database... so if i wanted to enter the name Justin when i typed J it starte dfining all names with J .. then Ju etc. is this possible with php and sql? Link to comment https://forums.phpfreaks.com/topic/107976-text-field-help/ Share on other sites More sharing options...
garry Posted May 30, 2008 Share Posted May 30, 2008 Not with PHP and mysql, you'd need ajax Link to comment https://forums.phpfreaks.com/topic/107976-text-field-help/#findComment-553398 Share on other sites More sharing options...
h3ktlk Posted May 30, 2008 Author Share Posted May 30, 2008 ajax is for asp correct? Link to comment https://forums.phpfreaks.com/topic/107976-text-field-help/#findComment-553400 Share on other sites More sharing options...
garry Posted May 30, 2008 Share Posted May 30, 2008 Nope, you can use ajax in conjunction with PHP and mysql. Do some google searches on it, it is definitely possible. Unfortunately I don't know much more than that (still learning) so I can't help you any further. Link to comment https://forums.phpfreaks.com/topic/107976-text-field-help/#findComment-553417 Share on other sites More sharing options...
GingerRobot Posted May 30, 2008 Share Posted May 30, 2008 No. AJAX is javascript. Asynchronous Javascript And XML. You can use whatever server language you wish. If you google, im sure you'll find plenty of auto-suggest tutorials. Link to comment https://forums.phpfreaks.com/topic/107976-text-field-help/#findComment-553419 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.