View Single Post
Old 1st August 2013, 19:23     #12
Farmer Joe
Word To Your Motherboard!
Originally Posted by MadMax
<FORM method="GET" action="/timesheet/enter_times.php" NAME="pp" id="pp"> <label for="pay_period">Select the pay period to enter hours for:</label><br> <SELECT id="pay_period" NAME="pay_period" ONCHANGE="document.getElementById('pp').submit();"> <OPTION VALUE="{$week1}" {if $pay_period==$week1}SELECTED{/if}>{$week1|date_format} -> {$week1_end|date_format}</OPTION> <OPTION VALUE="{$week2}" {if $pay_period==$week2}SELECTED{/if}>{$week2|date_format} -> {$week2_end|date_format}</OPTION> </SELECT> </FORM>
is what I've changed it to (and have supplied code from the php rather than from the browser), however still the same result
That doesn't look like any PHP code I've ever seen?
  Reply With Quote