Hello! 🙂
what might be wrong here please?
(inside a drop down menu)
<option value='China' <?if($ch1=="China") {echo selected; time1=7;}?> >China</option>
Error msg is:
Parse error: parse error in /home/time/public_html/index.php on line 31
Original
Modified
<option value="China"<? if($ch1 == "China") { echo " selected"; $time1="7"; } ?>>China</option>
Missing a $ before time1=7 😉 Also cleaned the rest up a little bit.
Cgraz
Thanks, works fine.
It is for this hobby page which I am making now.
http://www.globaltimewiz.com