Hi..
i'm a little confused..
This is what I'd like to do.. When a user clicks "ok"... I'd like to get the variables from the form, eg: name (done that) then push it into an array.. When I go back to use the form again, it'll do the same thing and then push the seccond one into
USING FORMS.. Passing into an array
Moderator: General Moderators
USING FORMS.. Passing into an array
Last edited by parkin on Sun Aug 24, 2003 9:01 pm, edited 1 time in total.
when one request is served the script terminates (ok, it's the other way round, but anyway) and everything from the script ceases to exist.
When a second request is handled the script starts all over. There's no difference between the first and the second request ...except parameters that might have been passed by the client, like ?var1=val1..., posted data, cookies or other headers.
You can keep data persistent e.g. with sessions.
For an introduction have a read of http://www.zend.com/zend/tut/session.php
When a second request is handled the script starts all over. There's no difference between the first and the second request ...except parameters that might have been passed by the client, like ?var1=val1..., posted data, cookies or other headers.
You can keep data persistent e.g. with sessions.
For an introduction have a read of http://www.zend.com/zend/tut/session.php