Hi all,
When I echo $query it doesn't display the NOW() value. Why is this?
$query = "UPDATE notes SET note = '".$note."' WHERE date = NOW()";
because the query is just a string
and NOW() is an sql function that is evaluated at runtime.