I need to select time from this column.
Column type is datetime.
I have this code now and it's work but not as I want:
$qcreatetime = mysql_query("SELECT create_time FROM ".SQL_HP_DB.".account WHERE id='".$_SESSION['user_id']."'");
while ($rowcreatetime = mysql_fetch_array($qcreatetime))
{$createtime = $rowcreatetime["create_time"];
echo $createtime;}
I got this result with printed echo:
SELECT create_time FROM account_3.account WHERE id='2'
I'm still getting this error: