Hallo,
Ich habe 2 <input type="image"...> button innerhalb 1 Formular.. Diese Button sollen aber jeweils etwas anderes ausführen.
Versucht hab ichs mit+
<input type="image" src="images/lastmonth.gif" name="lastmonth" value="lastmonth">
<input type="image" src="images/nextmonth.gif" name="nextmonth" value="nextmonth">
<?php
if (isset($_POST['nextmonth']) && $_POST['nextmonth'] == 'nextmonth')
echo 'Next Month';
if (isset($_POST['lastmonth']) && $_POST['lastmonth'] == 'lastmonth')
echo 'Last Month';
?>
funktioniert zwar im Firefox aber nicht im IE6.
mfg Richie