database name “customdata”
jobNo CustomerName Country Tel Item
1 John USA 045 Mouse
2 Tony Australia 054 laptop
3 Karuma India 548 keyboard
4 Anton Canada 854 Pen
5 Lusinda Italy 758 Book
Don’t care about the database data.
I want add a one text field in php script. when type “I” it should automatically complete
dropdown list box like below
2,Tony,Australia,054,Laptop
3,Kumara,India,548,keyboard
5,Lusinda,Italy,758,book
all rows which include with “I” letter.
In next step “In”
3,Kumara,India,548,keyboard
will remain and others will goes out.
I can try to autocomplete with jquery.
Some one please help me to select data from table and add into array
How about this??
For ‘i’
For ‘in’
You just need to do changes in
like '%in%'If you want case-sensitive search, use BINARY after
WHEREstatement.Demo
NOTE : When you type
in, you will getid=5data aslo withid=3asinis presentin
CustomerNameLus in da.Update 1
In PHP code will be
Please do changes as per your requirement.