Re: [OT] consulta MYSQL

From: Date: Tue, 26 Feb 2002 08:50:52 +0000
Subject: Re: [OT] consulta MYSQL
References: 1 2 3 4  Groups: php.general.es 
Request: Send a blank email to general-es+get-19683@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hola: > SELECT * FROM materias WHERE id_alunmo='$key' AND fecha>=$inicio > AND fecha <= $fin > Creo que te faltan las comillas para las fechas, si no puede que no te las compare bien: SELECT * FROM materias WHERE id_alunmo='$key' AND fecha>='$inicio' AND fecha<= '$fin' Un saludo ~A~ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPHtMacu1kh39gXfnEQK/4QCgqLKlK8N2eVCMzBPLbZcQx0dU4CEAoM9Y RSCRR7PszYNDrcdmGGE8DE0V =u72O -----END PGP SIGNATURE-----

« previous php.general.es (#19683) next »