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?

163 Like 6 Dislike
Previous php-forum Next php-forum
Other php-forum

Reditecting pages based on logic
Newbie here, apologies in advance!

I am trying to use the header function to forward one of a

Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?

This is what I've come up w

how to use two buttons with php
hi i have one form. there are three fields which are to be filled by the user. and then there are tw

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

pspell
using pspell, is it possible to get words that would be best in the current phrase?

For examp

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

Comparing MySql data and arrays.
I have a mysql table set up like this:
idsubjectbodyuseriddatetimetags1blog subjectblog body111|2

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