Gralf Posted June 14, 2014 Share Posted June 14, 2014 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 More sharing options...
fishswim Posted June 15, 2014 Share Posted June 15, 2014 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 More sharing options...
Larry Posted June 16, 2014 Share Posted June 16, 2014 The problem here is the lack of support for time zones in MySQL. You'd need to talk to your hosting company about supporting that. Or change the code to not recognize time zones. Link to comment Share on other sites More sharing options...
Recommended Posts