Heyup ! I tried this out on my system, and used the PyWeb emulator to check it. It objected to the <br/> at the end of each option line. The other thing I had problems with was the header, and this has been the case for quite a while now. It seems to be very picky about format and spacing, so in the end I constructed a PHP header which I know include in all my WAP/WML pages. Also, i don't know if it's significant, but I changed single quotes to double quotes.
The code below shows the final result, which seems to work.
inijoey was right about the WML Apache config - mine looks like this..
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
<card id="card1" title="Shopping">
<go href="wap.php" method="post">
<postfield name="items" value="$Items"/>
<select name="Items" multiple="true">
<option value="7">Thuna fish</option>
<option value="9">Meat (lots of!)</option>
Hope this helps..
AddType application/x-httpd-php .php .php3 .php4 .htm .html .wml
AddType text/vnd.wap.wmlscript .wmls
AddType image/vnd.wap.wbmp .wbmp
PS .. I added a veg option as number 5 ..