Jump to content

antilectual

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    sk8board22@hotmail.com
  • Website URL
    http://www.antilectual.net

Profile Information

  • Gender
    Not Telling
  • Location
    cambridge, uk

antilectual's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. on my news manager i have been using CURDATE() to insert the date on which a news item was posted, but now i have changed the column from date to datetime (YYYY-MM-DD HH:MM:ss) and curdate() will not enter the time. is there something else i can use? what does timestamp() do? this is my query at the moment: "INSERT INTO News SET NewsTitle=\'$title\', NewsDate=CURDATE(), UserID=$user_id, NewsText=\'$text\'"; any ideas? cheers, Antilectual
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.