Jump to content

PHP + list boxes + posting


eva21

Recommended Posts

I have the following list box:

echo("<Select size=3 MULTIPLE onchange='getMedia(" . $rows['id'] . ")' name='" . $rows['id'] . "_teach' id='" . $rows['id'] . "_teach'>");

echo("<option value='t1'>Apple</option>");

echo("<option value='t2'>Banana</option>");

echo("<option value='t3'>Other</option>");

 

If i select t1 and t2, and press submit, when i echo my posted variables I only have t2. I realize 75_teach variable is being overwritten....so how do i make both values show up?

Link to comment
https://forums.phpfreaks.com/topic/157972-php-list-boxes-posting/
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.