Sridhar_Rao
In the zone
I am just starting..*www.vbforums.com/images/smilies/blush.gif .I am facing difficulty in solving a simple issue. Please help me with code.
There is a table with names of individuals and their addresses. Say, the column 1 is name, column 2 is add1, column 3 is add2.
I want a simple program in php that would display the ordered list of individual names in a drop down list.When the user selects one of them and submits it via a form, mysql should locate the record that matches the name and display the address (add1 and add2).
simple, but I am not getting it right.
I am getting the code to display the drop down list from the table, but when selected, only half of it is getting posted. Say, the name is Anthony Gonzalves in the list, when clicked, only Anthony gets passed and hence it does not match any record in the table. What is happening?
There is a table with names of individuals and their addresses. Say, the column 1 is name, column 2 is add1, column 3 is add2.
I want a simple program in php that would display the ordered list of individual names in a drop down list.When the user selects one of them and submits it via a form, mysql should locate the record that matches the name and display the address (add1 and add2).
simple, but I am not getting it right.
I am getting the code to display the drop down list from the table, but when selected, only half of it is getting posted. Say, the name is Anthony Gonzalves in the list, when clicked, only Anthony gets passed and hence it does not match any record in the table. What is happening?