Default TimeZone


Posted on 16th Feb 2014 07:03 pm by admin

The server I'm working with is hosted in America so all times inserted into the database are coming out 5 hours differen't to what I want them to. I attempted placing the following in my Header file...

Code: [Select]date_default_timezone_set('Europe/London');
But it doesn't seem to have worked, am I missing something?

No comments posted yet

Your Answer:

Login to answer
163 Like 6 Dislike
Previous forums Next forums
Other forums

TemplatePower & AJAX
Hi all,



I'm currently implementing some AJAX features in my PHP-framework (which is b

array_count_values question?
ok i'm trying to create a top ten list from a database of listed favorite movies.

the followi

I need help with formatting date from mysql! with php!
Hello guys

*Note: this is a php question not MySQL question, please do not move it to mysql s

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

$variable $variables type question
I need to be able to designate an array element dynamically, so I thought to use a variable variable

retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell

Show message after entering data
Hello Colleagues

I would like to display messages after entering the data example: "
dat

need help modifying script
Hi guys,

I'm fairly new to php and am having a bit of trouble modifying a script.

This

how do i display data on a page from mysql
1 - do i use this code at the top of each of my page i wish to only alow access if there as been a s

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash