Jump to content

easy now() doubt


pedrobcabral

Recommended Posts

I'm trying to do something like:

$date = now();

And insert on the query to mySQL the variable date, the problem is that is getting me the following error:  Call to undefined function now() - it's the line I've stated above.

 

One more thing, to evaluate if the user has filled the form I'm cheking if some ($_POST[vars]) are set. This part does work but it gives my in my log the following: Use of undefined constant email - assumed 'email' in bla bla bla. Why the hell?

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/40084-easy-now-doubt/#findComment-194837
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.