how do you know if a program repeats or is in a series? Ive a sneaking suspiscion that you need to revisit your table design, applying the tools of normalisation to your design requirements. I think you need to have a clear idea of what your application is about, before you start comitting to code, and not chop and change the design seemingly on a whim
don't understand
Quote:
|
i am making a a small application where updating 24 hours programs on daily basis is impossible, but it repeats weekly.
|
why is it impossible?
is that becuase you don't know that far out
or
you don't want to go to the trouble of defining individual programs.
Quote:
|
will time works without date in mysql ?, should i add 'day' field ?
|
I though we had already gone through this with your earlier question
what would adding a "day" column give you?
don't understand
Quote:
|
will time works without date in mysql ?
|
Right now I think you need to read up on date time finctions in MySQL.
I think you need to get to grips with how MySQL stores date / time values, from there you should be able to work out the pathway you want to go.
I suppose one of the fundamental questions is about how you treat a specific program
is it a one off, is it one of a series
do you need to know a series are you happy with say program X is always on on a Sunday between 10:00 and 10:59
alternativley you could make an assertion that Channel Y always has programs of a specific genre at a specific time on a specific day, and therefore the actual program itrself is relatively minor importance.