hello all,
i am working on making a blog.. this is just for me to learn php and mysql. so right now I am trying to make it post the time data to the database.
here are the variables
i am using this codeCode:$time= date("F j, Y, g:i a");so i was told to useCode:mysql_query("INSERT INTO blog (message, username, date, time, title) VALUES('$blog', '$lusername', '$numdate', '$numtime', '$title'") or die("Error: ".mysql_error());but i dont understand how to use that. so could someone explain what i am missing.Code:"SELECT NOW() As 'TheTime', someField FROM someTable" $result->theTime $result->someField



Reply With Quote


Bookmarks