Dynadot โ€” .com Registration $8.99

Code edit

Spaceship Spaceship
Watch
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)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
This is what all members should do...

Ask a question and answer it for others to use (If they find the answer on their own, of course). Good work!:)

-Steve
 
0
•••
try using the strftime() function
 
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back