DRW forum - 4/3/2005 18:37:05
hi guys my first post here... ok i'm trying to make a simple one room forum for my site by using a database. no logins or anything just leave name and a message. So they use a form to send the message to my database leaveing there name and message but to display the messages i have to use the DRW i was wondering if someone could think of or create some html or DRW code that would display the messages like this frank: n2m Jimmy: hey guys whts up
with a new line for each message and newest on top any help?
BeTheBall
Posts: 6385 Joined: 6/21/2002 From: West Point Utah USA Status: offline
RE: DRW forum - 4/3/2005 22:59:55
Welcome! Assuming you have three fields, the poster's name, the post and an autonumber ID field, the this would do just fine:
SELECT * FROM tblName ORDER BY ID DESC
To make it simple, just enter something like above in a custom query in step 2 of the DRW.
_____________________________
Duane
Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.