Code:
<input type='text' name='en_ch_date' value='<? echo date(("Ymd"), strtotime("-3 days")); ?>'>
This correctly outputs 20080204 with today being 20080207.
I want to put a variable in for -3 which will change but currently has a value of 100. How do I go about putting a variable in this function?
|