Castle Timezone Script problem/ php script continue if
Posted: Tue Jul 19, 2011 9:46 pm
Hello,
I have one problem On Local Diskw i got the Time that siege will begin correct ex. Controlled by: UNCLAIMED
Next Siege: Jul 24 2011 08:00PM EEST
But on website : Controlled by: UNCLAIMED
Next Siege: Jul 24 2011 01:00PM EDT
how can i add different timezone?
edit: $gen .= '<div><strong>Next Siege:</strong> ' . date('M d Y h:iA ',$castle['siegeDate']/1000) . ' ' . date('T') . '</div>';
here is the code that i must add timezone +2 GMt
And one other problem if i close pc / or i block mysql my website don't load completed . example; it stop loading templates etc after first php script how can i add one line that IF cant connect to keep loading the other things?
Tnx
I have one problem On Local Diskw i got the Time that siege will begin correct ex. Controlled by: UNCLAIMED
Next Siege: Jul 24 2011 08:00PM EEST
But on website : Controlled by: UNCLAIMED
Next Siege: Jul 24 2011 01:00PM EDT
how can i add different timezone?
edit: $gen .= '<div><strong>Next Siege:</strong> ' . date('M d Y h:iA ',$castle['siegeDate']/1000) . ' ' . date('T') . '</div>';
here is the code that i must add timezone +2 GMt
And one other problem if i close pc / or i block mysql my website don't load completed . example; it stop loading templates etc after first php script how can i add one line that IF cant connect to keep loading the other things?
Tnx