Hi,
Awesome! that is the solution, thank you!
But now, after posting a text, I'm receiving another message:
(but you have to know, the PHP book I'm using is old)
Title [
Notice: A non well formed numeric value encountered in C:\Users\Me\Desktop\UsbWebserver\UsbWebserver\Root\ch16\functions.php on line 6
12 Mar 2010]
edit | delete
And so, I checked my code, but it is similiar to what my book tells me,
but it still does not work.
functions.php:
<?php
// format MySQL DATETIME value into a more readable string
function formatDate($val)
{
$arr = explode('-', $val);
return date('d M Y', mktime(0,0,0, $arr[1], $arr[2], $arr[0]));
}
?>
Thank you,