Jump to content
Larry Ullman's Book Forums

Mysql Time Zone For Hosted Website


Recommended Posts

Hello there,

 

I built a forum website based on chap 17. I uploaded that site to a free web hosting (www.000webhost.com). The problem I have is when the user is not logged in the data/time values show but once a user is logged in they don't show.

 

How can I update my database and make the user time zone work?

 

Any help or suggestion will be greatly appreciated.

 

Regards,

Gralf

Link to comment
Share on other sites

you could try a if construct.

 

test if end user is logged in, if so echo date time, where you want the data in the page.

 

what is weird in your question is that the date time is displayed when end user is not logged in.

 

of any construct that you made to call date time , may be bassakwards.

Link to comment
Share on other sites

 Share

×
×
  • Create New...