Hello
sorry for the English if it's bad
I m working in XAMPP localhost v1.8.2, and the PHP version is 5.4.4
first here is the script
$user_req = mysql_query("SELECT regdate FROM users WHERE id='$user_id'");
if(mysql_num_rows($user_req)>0){
$user_info = mysql_fetch_array($user_req);
echo date('d/m/Y H:i a',$user_info['regdate']);
}
and the sql query that I use
mysql_query('insert into users (username, password, email, regdate) values ("'.$username.'", "'.$password.'", "'.$email.'", "'.time().'")')
the problem is that if registration date is [ 03:25:45 ]
the output look like this [ 05:25:45 ]
I don't know from where the 2 hours come from , I've tried in another script, I even reinstall XAMPP, but didn't work...
Thanks