surfmad74 Posted April 18, 2012 Share Posted April 18, 2012 Hi I've created the Message Board site as per the book but for some reason the Date & Time on both the Forum.php and read.php page aren't displaying. I've tried the supplied code as well as my own and neither work so I'm assuming it might be a php setting or MySQL setting? I've run the site using XAMPP on my MacOSX and also on my rented server. I don't know if it makes any difference but the php.ini file timezone is set to... date.timezone = "Europe/London" Can you help please, many thanks Grant Link to comment Share on other sites More sharing options...
Larry Posted April 18, 2012 Share Posted April 18, 2012 Are you really using the first edition of my "PHP Advanced" book? That's almost a decade old now. If not, please confirm what book you're actually using. 1 Link to comment Share on other sites More sharing options...
margaux Posted April 18, 2012 Share Posted April 18, 2012 also check the format of the date - Europeans use dd/mm/yy, Americans use mm/dd/yy Link to comment Share on other sites More sharing options...
surfmad74 Posted April 19, 2012 Author Share Posted April 19, 2012 I'm not too sure what edition it is but it was published December 2007 so I guess maybe its the third edition? Shall I repost? Link to comment Share on other sites More sharing options...
Larry Posted April 20, 2012 Share Posted April 20, 2012 You shouldn't repost until you know what actual book you're using. If it was the third edition, it'd say "Third Edition" on the front. How about confirming the title from the front of the book, any sign of edition, and maybe even the ISBN, to be safe? 1 Link to comment Share on other sites More sharing options...
Recommended Posts