| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Apr 2006 Location: Central PA
Posts: 101
![]() | |
| | |
| | #2 (permalink) |
| Tech Support Join Date: Mar 2005
Posts: 4,944
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | If I'm understanding you correctly... Code: SELECT * FROM wager_table AS wager LEFT JOIN combo_table AS combo ON(wager.combo_id = combo.combo_id) WHERE wager.combo_id > 0 AND wager.line_id = wager.oppline_id |
| | |
| | THREAD STARTER #3 (permalink) |
| NamePros Member Join Date: Apr 2006 Location: Central PA
Posts: 101
![]() | Thanks for the response. I've got an array of line_id's (one for each wager), and id like to go through and try to find a combo wager with all the opposite line_ids being wagered on. Edit: I think I got it all working now, thanks for the help.
Last edited by NonProphet; 02-07-2010 at 01:50 PM.
Reason: Problem Solved
|
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |