I'm quite new to PHP and MySQL. I'm trying to create a simple address book, but have run into a little snag:
In my address book database, there is one field for the contact's first name, and then one field for the contact's last name.
I'm creating a PHP page containing a drop-down menu that is dynamically populated with the contact's name by this database. The problem is, since there are two different fields for the contact's first and last names, I can only choose one.
Does anyone have any suggestions for a work around? I'd like to keep it in a drop-down menu, for a full list would take up too much space.
Thanks,
Jason
|