If you wanted to store the current time in a variable instead of calling NOW() inside a query use the PHP code below.
date ("Y-m-d H:i:s", time());
and wow look at all those caps in the title
If you wanted to store the current time in a variable instead of calling NOW() inside a query use the PHP code below.
date ("Y-m-d H:i:s", time());
and wow look at all those caps in the title
Due to the slow loading cause by using the gist embed code I have switch to syntax highlighter. Some code goes beyond the content area but that will be dealt with later. It still displays nice and readable so I see no issues.