Hi peace95,
sorry for the delay in getting back to you and thanks for replying, details are as follows
I have 3 tables races, horses, snapshots. The database is a MYSQL database
Races – all details about each race columns as follows
rceid, racedate, track, racetime, url1,url2,description,type,distance,furlong,class
raceid is an int it is the key for this table, racedate,track,time should all be obvious enough as to their content,
url1 and url2 are the url’s that I get all the information from these do not need to be displayed anywhere on the site.
Description (name of race), type (type of race), distance (distance in miles), furlong (distance in furlong), class(class of the race)
Horse – details about each horse columns as follows
horseid, raceid, res, cardno, draw, horsename, jockey, trainer, owner
horseid is an int it is the key for this table with raceid being the relationship between race and horse tables
res – finishing position of horse (not to be displayed anywhere) , cardno – cardno of horse, draw – stall the horse is in, horsename, jockey, trainer, owner all abvious enough.
Snapshots – contains multiple sets of bookie prices at taken at various time during the day for each horse. Columns are as follows
snapid, snaptime, snapnumber,raceid,horseid,bookieprice1,bookieprice 2,bookieprice3 ….. bookie price11.
snapid is an int it is the key for this table with raceid and horse id being the relationship to the horse and race table.
Snaptime (time snapshot was taken ), snapnumber (int between 1 – 14) bookieprice1 is the price that bookie had for the horse in question at the time of the snapshot.
There can be anything from 12 – 50 races a day, I am not familiar with APEX but if it would be the most suitable technology/language to achieve this I will start to familiarize myself with it. I have no idea what class you are referring to. Programming class ? Or something else ? I am a fast learner so don’t hold back on the details !
I would like the site to work something like this
Todays Races
racedate track racetime description type distance furlong class
Race 1 details ……………………………………
Race 2 details ……………………………………
Race 3 details ……………………………………
Race 4 details ……………………………………
Select the race you want
New page loads with the following
Race 2 ….details
cardno, draw, horsename, jockey, trainer, owner
Horse 1 details …………………………………….
Horse 2 details …………………………………….
Horse 3 details …………………………………….
Horse x details …………………………………….
Select the horse you would like and either a drop down / pop up / new page with the following
Horse name and card no
snapnumber snaptime bookieprice1 bookieprice2 bookieprice3 bookiepricex ….. ….. bookieprice11
snapshot 1 details……………………………………………
snapshot 2 details……………………………………………
snapshot 3 details……………………………………………
snapshot 4 details……………………………………………
snapshot x details……………………………………………
if you need more details please let me know.
Thanks,
slahy
Last edited by slahy; December 11th, 2011 at 08:08 AM..
|