January 13th, 2014, 02:08 AM
can $_SESSION be used with $_POST or $_GET ? something like.....
$_SESSION['something'] = $_POST['somethingelse']?
or $_SESSION can only be used for using simple string dynamically? like........
$_SESSION['something'] = 'something else'? basically i have some data in dropdown list and another text field in which i store dates of my webpage's form which i want to use dynamically to another webpages and also to the database ........which is the most simple way to do it?
January 13th, 2014, 03:36 AM
you got PHP? Editor? browser? why not try it yourself and figure out?
why do you question a simplest thing as variable assignment?
Comments on this post
January 13th, 2014, 08:06 AM
Yes, $_SESSION can store an array.