Jump to content

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.

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.