Jump to content

Select Fields in Hidden Variables


russia5

Recommended Posts

You have to serialize the array, pass that, and unserialize it in the recieving script.

Example:
In your form:
[code]
<input type="hidden" name="somename" value='<?php echo serialize($_POST['dropdown']); ?>'>
[/code]
In the processing script:
[code]
$somename = unserialize($_POST['somename'];
[/code]

Ken

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.