Couple of questions PHP + Querying Databases

Soldato
Joined
1 Mar 2003
Posts
5,508
Location
Cotham, Bristol
Couple of quick questions

1. Go to radiotimes.com and look at the tv listings, programmes are split on a grid pattern, the size of the pattern is dependant upon the length of the programme. I don't know the term for this grid type thing, what would it be called in php?

2. The tv listings data is stored in some sort of database, but say you also wanted users to be able login and show their favourites receive reminders etc etc. Would this user information be stored in the same database, or would there be two databases that somehow cross query each other?
 
Thanks. Surprised by your second answer, I do mean databases not tables within databases, your example looks like separate tables?

I'm asking because I've designed the programmes/channels database, just wondering if I should be adding extra tables to it for user information or to keep the two separate.
 
One of the columns I have is duration in minutes so that should be pretty easy.

I was more talking about the HTML/CSS side of things, just a dynamic table with variable cell widths?
 
Back
Top Bottom