Código PHP:
$fecha = date("Y/m/d h:i");
$query="select * from publicaciones where (( fecha_limite > $fecha ) and (publicaciones_id>= 3) and (mostrar = 1)) order by fecha_creacion desc limit 1";
Código:
y lo que necesito lograr es que la consulta se fije si la fecha actual es menor a la fecha limite para mostrar cierto contenido Fatal error: Call to a member function on a non-object in /www/docs/estudiotrevisan.com/public_html/boceto/index.php on line 8
Espero que me puedan ayudar,
muchisimas gracias!!