Hello everyone, I have a little PHP/MySQL question for you guys. I'm fairly new to this so please bear with me! 😃
What I want:
I would like to have a place on my site that has a listing of people's birthdays. So if it were January it would read:
JANUARY
John Doe 02
Jane Doe 14
Fred Man 23
What I've done so far:
I've created a database called, "birthdays" and inside that db are 12 tables. Each table represents each month as in, "jan","feb","mar", etc.. Inside each table I have 2 columns, "name" and "date". And this is pretty much where I'm stuck.
I have the basic knowledge down, being that I can script the PHP to connect to the db, and all of that but I'm stumped now. :bemused: I guess what I'm thinking is to have a code that asks what the current month is and then once it finds that to pull up that table, and then to sort the "date" column from the earliest date to the lastest.
If anybody could help me out with this I would greatly appreciate it.