Current location: Hot Scripts Forums » Programming Languages » PHP » PHP - script for dynamic daily text...HELP!


PHP - script for dynamic daily text...HELP!

Reply
  #1 (permalink)  
Old 10-11-03, 10:22 PM
fpardi fpardi is offline
New Member
 
Join Date: Oct 2003
Location: NC
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question PHP - script for dynamic daily text...HELP!

Hello everyone,

Can anyone help me find a php script (with mysql) that will allow me to create a dynamic table on a page with its content being a different text (like a devotion) every day of the year? I have been looking for weeks now, even months, without any success. It would be a great help. The devotionals will not be in English, so a link to an English site will not work. It has to be created from scretch. I just need an idea.....

Thank you all very much

Felix
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 10-12-03, 12:25 AM
mdhall's Avatar
mdhall mdhall is offline
Aspiring Coder
 
Join Date: Oct 2003
Posts: 510
Thanks: 1
Thanked 1 Time in 1 Post
http://www.cj-design.com

Something along these lines?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 10-12-03, 04:36 AM
fpardi fpardi is offline
New Member
 
Join Date: Oct 2003
Location: NC
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mdhall
http://www.cj-design.com

Something along these lines?
I have checked that site, it is pretty cool. They 'almost' had the script that I need. They had one that will propagate random quotes on a daily basis. However, what I need is date dependent. For ex. every day of the year would be assigned one and only one text. This is what I am looking for.

Any thoughts?

Thank you mdh!!!
Felix
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 10-13-03, 04:02 AM
Snake Shift Snake Shift is offline
New Member
 
Join Date: Oct 2003
Location: dunno
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
It doesn't seem like it would be too hard to make a script like you want. This query would be date-dependent. Contact me on AIM (jrk922) and I'll help you out.


$date = getdate();
$newdate = $date['year'] . $date['mon'] . $date['mday'];
$sql = "SELECT text FROM yourtable WHERE date = '$newdate'";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP code to edit a text file mdhall Script Requests 12 12-23-10 05:03 AM
PHP theme selection script TMD PHP 2 09-22-03 04:43 AM
PHP script required Mickey Job Offers & Assistance 8 09-07-03 04:00 PM
I need help with my first php script NeverMind PHP 4 08-01-03 02:27 PM
30% off Hosting - Free PHP Script Autoinstaller cyberwisdom General Advertisements 0 07-06-03 02:47 PM


All times are GMT -5. The time now is 07:32 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.