How do they do that: "Today is XXXXX's birthday." |
How do they do that: "Today is XXXXX's birthday." |
hunsnowy |
Aug 11 2010, 01:40 PM
Post
#1
|
Novice Group: Members Posts: 21 Joined: 7-August 10 Member No.: 12,451 |
Hi there Everyone. I've seen a pretty cool thing on a few websites and I just can't figure out how it's done.
What I mean that there are some websites which have information like: Today is George Clooney's birthday. Tomorrow is Hugh Grant's birthday. And this information changes day-by-day. I would guess that this is done by php and MySQL. Am I right? Can this be done by JavaScript? If this is done by MySQL is there a site where I could download the database file of famous people's birthday, or famous history days? Thank you in advance for your help |
Darin McGrew |
Aug 11 2010, 01:47 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
It could be done with any kind of server-side program: CGI, PHP, Java servlets, etc.
It could be done with JavaScript, but then you'd need to download the entire database every time, and of course, it wouldn't work when JavaScript is disabled/unavailable. |
Lo-Fi Version | Time is now: 19th April 2024 - 04:08 PM |