Passing PHP Arrays between HTML pages
Posted: Thu Aug 01, 2002 11:07 am
HI all
I am querying my database and returning an array of values.
Is there anyway I can make this array available in my next HTML page?
Right now I have a loop that converts all elements in the returned row into HIDDEN HTML variables. These HIDDENS can very easily be passed between pages. Although, when it comes time for me to check the users input with the Database Information(to see if there were any changes) the process becomes very slow. A guy(myself) would think that some PHP gurus would know how to pass my arrays. The ability to pass arrays would reduce the amount of querries made and the time in which it takes me to check/save modifications.
A big TIA for any advice
The Bear....The Strongest that is!
I am querying my database and returning an array of values.
Is there anyway I can make this array available in my next HTML page?
Right now I have a loop that converts all elements in the returned row into HIDDEN HTML variables. These HIDDENS can very easily be passed between pages. Although, when it comes time for me to check the users input with the Database Information(to see if there were any changes) the process becomes very slow. A guy(myself) would think that some PHP gurus would know how to pass my arrays. The ability to pass arrays would reduce the amount of querries made and the time in which it takes me to check/save modifications.
A big TIA for any advice
The Bear....The Strongest that is!