JEB Posted August 5, 2012 Share Posted August 5, 2012 I am a complete novice with PHP and require some assistance if possible please. This URL pulls up a stats page for a local football club. There are several different match types, League, Cup etc. If you select the "All" option it gives all results including; Bounce Game, Friendly and Testimonial. http://briskham.co.uk/playerstats/index.php I would like to add another option in the Match Type drop-down list that will be called "All Competitive" and for this to include all match types apart from; Friendly, Bounce Game, Testimonial - MatchTypeID - 6, 8 and 9. I have attached a copy of the PHP file, could someone manage to help me out with this one please? Many thanks 18780_.php Link to comment https://forums.phpfreaks.com/topic/266702-help-required-in-selecting-match-id/ Share on other sites More sharing options...
Barand Posted August 5, 2012 Share Posted August 5, 2012 For All Competitive you need a query "... WHERE MatchTypeId NOT IN (6,8,9)" Link to comment https://forums.phpfreaks.com/topic/266702-help-required-in-selecting-match-id/#findComment-1366961 Share on other sites More sharing options...
JEB Posted August 5, 2012 Author Share Posted August 5, 2012 Thanks - Like I saw I know absolutely nothing about PHP. Where would I put the block of code, and what would it look like to have an option in the list that says "All Competitive Matches". Any help would be appreciated. Link to comment https://forums.phpfreaks.com/topic/266702-help-required-in-selecting-match-id/#findComment-1367000 Share on other sites More sharing options...
JEB Posted August 7, 2012 Author Share Posted August 7, 2012 Hi - I have been attempting to do this myself, but just can't figure out what code and where I need to add. If anyone could help it would be really appreciated. Link to comment https://forums.phpfreaks.com/topic/266702-help-required-in-selecting-match-id/#findComment-1367415 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.