![]() |
|||
PHP
IT Tags
my_thread_global_end photo gallery objects local server control panel Stop Script Simplexml Parser Xampp Mobile site SimpleXML Solr XML magento ecommerce XHTML connection to MYSQL ajax indexing solr local server Combo box associative arrays PHP and FLash multiple file uplo check domain php mail sdf include UPDATE Overlapping Layers Remove Duplicate server shutdown mysql server |
Write a script that would allow me to post text at two different times of the day
By: rekha singh | 13 Mar 2010 12:48 pm
Hello everyone! I am interested in learning and hope I can find help with a project I am working on at this very moment. I want to create a daily devotion for our church ministry website. I need to write a script that would allow me to post text at two different times of the day for every day of the year. The content is text and I have content for every day of the year. Putting the text in will be a colossal job in itself. Could someone point me in the right direction. I am not neccesarily asking for someone to write the code for me, I am willing to work that out on my own but just need someone to guide me through the process. Thanks for any help or suggestions you may have. CommentsThis is fairly simple to do. When you structure your database, you might add columns (or even) tables that associate your content by day, month, year, and the time range during which you want the content to appear. Your scripts can query based on the time ranges. For example if you are using AM and a PM content, your script might check the hour of the day, or even which Meridian is current. The date() function will help a lot with this. Then look up your content and retrieve based on that criteria.
By: rekha singh | 13 Mar 2010
You may also check out a CMS like Joomla, Drupal or Wordpress for the same, which can serve your requirements fairly easily.
By: rekha singh | 13 Mar 2010
Don't know how much you want to learn beyond your current task, but I'd recommend these two books:
By: rekha singh | 13 Mar 2010
|
