Jump to content

Session on Form


matvespa

Recommended Posts

Should be the same as a standard text widget except for:

select name=dropdown

dropdown will be a var

 

select name=dropdown[]

dropdown will be an array

and can be used with

<select name="dropdown[]"  multiple="multiple">

to allow multiple selection

 

without making the name= an array only the last chosen selection will show up as the var's value even if multiple is specified.

 

arrays can be assigned to a session var

$_SESSION['var']=$array;

 

 

HTH

Teamatomic

Link to comment
https://forums.phpfreaks.com/topic/194751-session-on-form/#findComment-1024131
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.