Jump to content

Archived

This topic is now archived and is closed to further replies.

gijs33

Using cross database table calculations for onscreen total tally

Recommended Posts

I am very new to PHP programming but fairly comfortable with writing basic SQL queries.

 

I am working on a project that would take a persons for inputs and write them to a database. I have a decent understanding of that part.

 

Where I'm stuck on where to go next to learn is the second part of what I'd like to do.

 

I want a page that will read the database values of what one person chose (1 of 2 options, ex. team a vs team b) vs another table that would store actual outcomes and perform a calculation (if you chose A, and A is the "winner" in the second table, then you  get value 1 for this game...etc.)

 

I'm just not sure where to find help (reading/tutorial/video/classes) on doing those kinds of cross table compare/calculate functions.

 

Can anyone point me in the right direction?

 

Thank you so much in advance.

 

 

Share this post


Link to post
Share on other sites

It would help if you let us know what your data looks like

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.