I'm trying to post an array as a value in a SELECT options list.
Here's what I've got so far:
$form.="<select name=\"info\">";
while ($row=mysql_fetch_array($result))
{$form.="<option value=\"$row\">".$row['name']."</option>";}
$form.="</select>"
However I have trouble using the $_POST['info'].
print_r($_POST['info'])
yields Array,but no details and I can't use it with foreach or with an echo to reference the fields in the row e.g.
$info=$_POST['info'];
echo $info['name'];
Any suggestions?
Thanks,
Mrob