ejemplo: id_carro: 01
fecha: 2008-04-03
marca_carro: renault clio
id_carro:02
fecha:2008-04-03
marca_carro: renault logan
id_carro:03
fecha:2008-04-03
marca_carro: ranault Megane
necesito en sintesis hacer una consulta a la base de datos y que me selecione el ultimo registro de esta tabla enviando la fecha
sentencia PHP.
Código PHP:
$fecha=$_POST['fecha'];
$C="SELECT * FROM entrada_concesionario WHERE fecha='$fecha' ";
mysql_query($C,$l);
Espero em entiendan y me colaboren con la sentencia sql
Mil gracias a todos.
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
![Policia](http://static.forosdelweb.com/fdwtheme/images/smilies/cop.png)