Dilema
| From: | Jake McHenry | Date: | Tue, 23 Dec 2003 06:34:52 +0000 |
| Subject: | Dilema | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173224@lists.php.net to get a copy of this message | ||
Hi everyone. Hopefully someone can help me out.
Here is what I have:
The user enters traveler names on page 1. blah blah on next couple.
Page 7 shows hotel information. I have the array of travelers names
being outputed into a select field on the page, all fine and dandy.
Where I'm having a problem is, the user can enter as many hotels as
they want, meaning the list of travelers will be displayed for each
hotel added. In the array being transferred into my script via POST,
they are all in one array.
How can I separate each hotel into it's own array, or somehow separate
the traveler names in the single array?
I was thinking of making a 2 dimentional array, but not sure how I
could do this.
I know how to create the arrays, but not sure how I can do it in my
situation.
If anyone needs any more info, ask away.
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com