Hi how are you doing? I would like to format time for my guestbook. but I get error
I did like this
I got an error.PHP Code:
$sql="select name,location,url,comments,date_format(msgtime, \"%Y/%m/%d %H:%i:%s\") as mtime from guestbook order by msgtime desc";
and
and take out time from my database
echo $row["msgtime"];
Could you tell me the right command to format date?PHP Code:Notice: Undefined index: msgtime in c:\ito\guestbookview.php on line 23
Thanks all





Bookmarks