[PHP] displaing news

2001-09-12 Thread nate
Hey all! I have a slight problem I was hoping you could help me with. I wrote earlier but no response (so one last try). I'm writing a little news script for my site, and well here is the scenario: The SHORT: I have news,headline,author,date,time,etc. all in a table in a mysql db, that I use

Re: [PHP] displaing news

2001-09-12 Thread Tom Carter
: [PHP] displaing news Hey all! I have a slight problem I was hoping you could help me with. I wrote earlier but no response (so one last try). I'm writing a little news script for my site, and well here is the scenario: The SHORT: I have news,headline,author,date,time,etc. all in a table

Re: [PHP] displaing news

2001-09-12 Thread nate
=$thisdate; } ? I wasn't sure how to assign the $lastdate and $thisdate variables. - Original Message - From: Tom Carter [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 9:37 AM Subject: Re: [PHP] displaing news rough outline of what you

Re: [PHP] displaing news

2001-09-12 Thread Tom Carter
: [PHP] displaing news Thanks Tom, I'm still a newbie at this stuff though, so can you (or anyone) look this over and tell me what I did wrong... ?php //Connect to db $db = mysql_pconnect(localhost); mysql_select_db(news,$db); $result1 = mysql_query(SELECT * FROM news,authors ORDER