admiral347 — 2012-01-09T02:16:32-05:00 — #1
Hello! I'm a novice programmer attempting to display a "daily health tip" for my company's intranet, wanting it to change daily and I've been looking around trying to figure out the "where" function. In the database, I've got the "id" column setup with the date and then the "text" column with the daily health tip. I have been trying to get the "where" function to act with the current date to get it to switch. I've gone through several other websites attempting to figure this out to no avail. Any assistance with this would be fantastic! Thanks!
admiral347 — 2012-01-09T02:17:11-05:00 — #2
Also, if it isn't clear by the post, I'm using PHP/MySQL. Thanks!
guido2004 — 2012-01-09T02:41:02-05:00 — #3
Welcome to the SP forums.
Please post the table definition and the query you've got so far.
cups — 2012-01-09T05:23:12-05:00 — #4
Would that be a different health tip for each day of the year then?