pass an html array to another file through url
Posted: Wed May 25, 2011 10:13 am
i want to pass an array in html anchor tag to php file ...and then shows it to the iframe something like facebook....but it dint work
code are something like that......
in html file:
in filename.php codes are:
code are something like that......
in html file:
Code: Select all
<select name="value[]"multiple="multiple">
<option value="val1">val1</option>
<option value="val2">val2</option>
<option value="val3">val3</option>
</select>
<a href="filename.php?val=value[]" target="ifram1">show</a>
<iframe src="file2.php" name="ifram1"></iframeCode: Select all
$arr1=$_GET['val'];
print_r($arr1);