PHP/MySQL - Query Help

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

NonProphet

Established Member
Impact
2
EDIT - Solved.... I was overthinking that too much.... Don't need this thread anymore.


Hey everyone I'm having some trouble with a query and I'm hoping someone can help me out. I'm bad with these advanced queries but I don't think this one should be too difficult.

I've got two tables, tbl_game and tbl_wager. Both tables have a common field that links them, game_id. I'm trying to query the wager table to find out if the game being wagered on has already started yet.

The game time is stored in the game table and it is called gametime. I would like to get the wager_ids of all the wagers based on games that have started.

Any help would be appreciated I haven't been having much luck.

Thanks
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back