Re: [PHP] Processing two post values

2005-10-22 Thread Minuk Choi
...not quite sure what you're asking. Are you asking for help on how to process these variables? I wrote this off the top of my head... meaning that I did not test it... since I don't know if this was what you were asking... I just fiddled with it. Add this code and tell me if it prints out

Re: [PHP] Processing two post values

2005-10-22 Thread Richard Lynch
On Sat, October 22, 2005 7:14 pm, Shaun wrote: > For each room I need to insert the values to the database, however I > cant > think of a way to do this. All one can do with php is a foreach on the > $_POST values whereas I need to process two at a time i.e. one insert > of the > x and y values per

Re: [PHP] Processing two post values

2005-10-22 Thread tg-php
Depending on your requirements, I think add one room at a time. For instance, your property sheet comes up initially with "No rooms configured". Then have a SELECT/OPTION pulldown for type: Bedroom Bathroom Living Room Garage Dining Room Kitchen etc... Then have an X and Y input box. You could