Re: [PHP] dynamic include() in while loop

2004-12-12 Thread Sebastian
disregard this topic.. i slept on it and found out how to do it. - Original Message - From: Sebastian [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 11, 2004 11:06 PM Subject: [PHP] dynamic include() in while loop this is a brain buster, at least for me. i have

[PHP] dynamic include() in while loop

2004-12-11 Thread Sebastian
this is a brain buster, at least for me. i have a while loop (results from mysql) which display news articles. i want to include() a file if there hasn't been a news article posted today meaning after midnight 12am to 12pm midnight... but if there are articles the articles would be echo'd before