I missed out the 'slash' at the
Original Message
From: EastLothianDirectory
Date: Mon 3/15/04 2:35
To: [EMAIL PROTECTED]
Subject:Re: [PHP] Re: [Q] PHP code embedded in html files - What happens?
Try naming your file temp.php
Try naming your file temp.php instead of temp.html
--
START CODE
--
END CODE
-
Regards,
Chris
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing like this is combination with a multisort array
function to get the order you want - but the way I see it your better
off changing the DB schema and using a few date related function is
either MySQL or PHP to display the dates in a user friendly way (e.g.
'10 January 2004').
EastLoth
PROTECTED]
Subject:Re: [PHP] Help for code to 'sort list' please
EastLothianDirectory wrote:
> Thank you for reply. I already have 'ORDER BY year desc'.
>
> But as I mentioned how do I get the months and day in order too on the same list.
>
> Thank you
Thank you for reply. I already have 'ORDER BY year desc'.
But as I mentioned how do I get the months and day in order too on the same list.
Thank you in advance
Original Message
From: John Nichel
Date: Mon 2/2/04 19:31
To: EastLothianDi
I have the following sql query in my Php code:
$sql = "SELECT id, date_day, date_month, date_year, title, content FROM $table_name
ORDER BY date_year desc";
The rest of the php code is just a simple db connection with a bullet list
and 'while' loop with an 'echo result' request.
This shows a l
6 matches
Mail list logo