I have the following code
$date=mysql_result(mysql_query("SELECT DATE_FORMAT('2003-02-23', '%e-%m-%Y')"), 0);
But i can see now value in $date,
Do you know why?
Do you have opened any database connection? 🙂
Yep. If i hadn;t any connection then it should complain about that.