php calender

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hanishkeloth
Forum Newbie
Posts: 2
Joined: Thu May 13, 2010 7:12 am

php calender

Post by hanishkeloth »

Hello,

how to get the month wise and date wise data in php table.
example:in the birth day list we have few colums
name and date of birth ,

kindly help
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: php calender

Post by Christopher »

What is a "php table"? Is it data in a database, HTML, an array?
(#10850)
hanishkeloth
Forum Newbie
Posts: 2
Joined: Thu May 13, 2010 7:12 am

Re: php calender

Post by hanishkeloth »

yes it is databse
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: php calender

Post by Christopher »

You can store the dates in a DATE or TIMESTAMP type field in the database. A TIMESTAMP might be easier to do calculations and comparisons on.
(#10850)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: php calender

Post by Benjamin »

:arrow: Moved to PHP - Code
Post Reply