- Impact
- 6
I have a script that when you select the a certain time zone it will show you the current time in that zone...
But before you select the time it says
Time:
then after you select the time it would say something like this
Time: 2005-09-06 02:04 GMT
this is the part of the code that pulls up the info... how can i edit this, so Time: doesn't show up untill after the zone is selected...hope this all makes since...
<br />Time: <? echo GetTime($input_location_id); ?>
Thanks
Never mind, i got the answer on another board...
<?php if($input_location_id) : ?>
Time: <? echo GetTime($input_location_id); ?>
<?php endif; ?>
is what i did (if interested)
But before you select the time it says
Time:
then after you select the time it would say something like this
Time: 2005-09-06 02:04 GMT
this is the part of the code that pulls up the info... how can i edit this, so Time: doesn't show up untill after the zone is selected...hope this all makes since...
<br />Time: <? echo GetTime($input_location_id); ?>
Thanks
Never mind, i got the answer on another board...
<?php if($input_location_id) : ?>
Time: <? echo GetTime($input_location_id); ?>
<?php endif; ?>
is what i did (if interested)






