Jump to content

NOW() with PHP


hasek522

Recommended Posts

hmm ok so now i have:

$sql = "INSERT INTO transactions (userid,accountid,amount,description,date) VALUES(

'" . $userid . "', '"

. $accountid. "', '"

. $amount. "', '"

. $description . "', CURRENT_TIMESTAMP() )";

 

changed account to transactions (my own mistake) and did the current time stamp but am still not getting this sql statement to work.

Link to comment
https://forums.phpfreaks.com/topic/116656-now-with-php/#findComment-599801
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.