Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 135,932 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 2,669 people online right now. Registration is fast and FREE... Join Now!




Rankin

 
Reply to this topicStart new topic

Rankin

capty99
15 Sep, 2002 - 05:27 PM
Post #1

the real kya
Group Icon

Joined: 26 Apr, 2001
Posts: 9,155



Thanked: 15 times
Dream Kudos: 550
My Contributions
newbie to php so watch out

got me a script that calls for 10 database entries (news stories) and lists them in descending order...
when one of those 10's titles is selected the whole article will be brought up.

what i want is to make a blog work for me
how do i set it up so it works like every other blog
the most recent news updates are shown first
and the rest in descending order.

and also, say ive got different tables i want each of these articles in...
how do i split them up so theyre all displayed in different areas...

muchos gracias.
User is offlineProfile CardPM
+Quote Post

Cookie Mobster
RE: Rankin
15 Sep, 2002 - 07:20 PM
Post #2

nooneenooneenooonee
Group Icon

Joined: 12 Oct, 2001
Posts: 4,723


Dream Kudos: 18
My Contributions
SQL
SELECT * FROM news_table ORDER BY date DESC

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 08:25AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month