twomt
03-04-2008, 06:28 PM
Hi all,
the following form works fine with FireFox but fails with IE.
Any idea's as I am unable to find out why.
echo ("<form action=\"eject.php\" method=\"post\" target=\"_self\">");
echo ("<select name=\"target\">");
foreach( $result as $target ) {
$targetpilot = pilotsGet( $target["ShipPilotID"] );
echo ("<option value=\"{$target["ShipID"]}\">{$targetpilot["PilotName"]}/{$target["ShipName"]}</option>");
}
echo ("</select><br /><input type=\"image\" src=\"/images/ships/eject.png\"></form>");
The info is correctly shown, the button just doesn't work :s
Thanks,
twomt.
the following form works fine with FireFox but fails with IE.
Any idea's as I am unable to find out why.
echo ("<form action=\"eject.php\" method=\"post\" target=\"_self\">");
echo ("<select name=\"target\">");
foreach( $result as $target ) {
$targetpilot = pilotsGet( $target["ShipPilotID"] );
echo ("<option value=\"{$target["ShipID"]}\">{$targetpilot["PilotName"]}/{$target["ShipName"]}</option>");
}
echo ("</select><br /><input type=\"image\" src=\"/images/ships/eject.png\"></form>");
The info is correctly shown, the button just doesn't work :s
Thanks,
twomt.