Re: (DRW) Ordenar por fecha

From: Date: Fri, 09 Feb 2007 00:07:01 +0000
Subject: Re: (DRW) Ordenar por fecha
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7678@lists.php.net to get a copy of this message
Pablo, he's been mailing us on and off over the last few days (and a few other inappropriate lists too, like docweb for example). Can you please tell him in his own language to send this stuff to php-general ONLY? He doesn't seem to understand English. Thanks, - Steph ----- Original Message ----- From: "Pablo Dall'Oglio" <pablo@dalloglio.net> To: "Anuack Luna" <anuack@gmail.com> Cc: <php-gtk-general@lists.php.net> Sent: Thursday, February 08, 2007 11:57 PM Subject: Re: [PHP-GTK] (DRW) Ordenar por fecha
This list is about PHP-GTK, not about SQL... http://gtk.php.net/ PS: Use the correct data types that your database offer (date) ;-) Pablo Em Qui, 2007-02-08 às 18:28 -0500, Anuack Luna escreveu:
Hola Foreros Tengo la siguiente pregunta. Como puedo darle la orden a un juego de registro que me lo ordene por fecha? SELECT * FROM mi_sitio_personal_menu ORDER BY id DESC Si le digo Orden by fecha Desc... Me lo ordena por nmeros, no por fecha. La fecha de la siguiente forma: "DIA/MES/AO" Alguna sugerencia... Adjunto database -- -- Estructura de tabla para la tabla mi_sitio_personal -- CREATE TABLE mi_sitio_personal ( id int(11) NOT NULL auto_increment, publico_privado varchar(10) default '0', usuario varchar(255) default NULL, fecha varchar(100) default NULL, categoria varchar(100) default NULL, pequena_comentario text, comentario text, archivo varchar(255) default NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Volcar la base de datos para la tabla mi_sitio_personal --
-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.general (#7678) next »