hi
i'm learning php from working on K Yank's book and, at some point, i've an insert like this:
$sql = "INSERT INTO Jokes SET
...
JokeDate = CURDATE()";
When i display this on my webpage, the date format is YYYY,MM,DD
and in my country (Portugal), the format is day, month, year
How can i achieve it?
i'm learning php from working on K Yank's book and, at some point, i've an insert like this:
$sql = "INSERT INTO Jokes SET
...
JokeDate = CURDATE()";
When i display this on my webpage, the date format is YYYY,MM,DD
and in my country (Portugal), the format is day, month, year
How can i achieve it?