Hi,
I am trying to pass a multiple select form into my php, but no value is showing up. I tried looking online but there isnt much help out there about these two subjects combined. Can someone plz help. I dont know what i am doing wrong. i believe it is a fairly simple fix but yea simplicity is very deceptive.
For my form page I have:
function multiple_list($tablename, $field) {
echo "<select multiple name = '$deletename'>";
echo "<option value= '$value'>$name\n";
echo "<input type = 'hidden' name ='delete' value = '$deletename'>";
echo "</select>";
return;
}
/ I have take some php stuff out of here for simplicity sake /
For my php page I have:
$tablename = $_POST['delete'];
echo "$tablename";
/ plus lots of other php stuff /
I just dont see where I am going wrong. I use the input type in the top to just test but it doesnt work without it as well.
Thanks for any help,
Bakaneko :p