Hi all.
I'm a complete newbie to PHP and could use some help in figuring this out. I have a php page that pulls it's content from a database. I'm able to display this without a problem. I would like to have the content be able to change depending on the date.
My database is called mobilesites. The table I'm extracting the data from is called promos. The fields are promoID, startDate, endDate, promoLocation (location of the picture), promoHeader (H1 content) and promoDetails (descriptive content). There is only one promo active at a time. Can anyone point me in the right direction please?
I'm a complete newbie to PHP and could use some help in figuring this out. I have a php page that pulls it's content from a database. I'm able to display this without a problem. I would like to have the content be able to change depending on the date.
My database is called mobilesites. The table I'm extracting the data from is called promos. The fields are promoID, startDate, endDate, promoLocation (location of the picture), promoHeader (H1 content) and promoDetails (descriptive content). There is only one promo active at a time. Can anyone point me in the right direction please?
Comment