php-windows Digest 9 Feb 2007 13:25:42 -0000 Issue 3137

Topics (messages 27476 through 27479):

(DRW) Ordenar por fecha
        27476 by: Anuack Luna

testing
        27477 by: Gustav Wiberg
        27478 by: Stut
        27479 by: Bill Bolte

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
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 números, no por fecha.

La fecha de la siguiente forma: "DIA/MES/AÑO"

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`
--

--- End Message ---
--- Begin Message ---
Hi there!
 
I'm just testing. Is there anyone who sees this?
 
Best regards
/Gustav Wiberg
 

--- End Message ---
--- Begin Message ---
Gustav Wiberg wrote:
I'm just testing. Is there anyone who sees this?

Nope, can't see it. Try a pink background.

-Stut

--- End Message ---
--- Begin Message ---
uhm, I see it...

-----Original Message-----
From: Gustav Wiberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 09, 2007 12:12 AM
To: '[email protected]'
Subject: [PHP-WIN] testing

Hi there!
 
I'm just testing. Is there anyone who sees this?
 
Best regards
/Gustav Wiberg
 

--- End Message ---

Reply via email to