e1seix
07-09-2007, 10:26 PM
Complete php novice here, as you're about to find out.
Am constructing a rather large database-based product website.
If my imaginary page is: 'http://mydomain.com/index.php' I'm looking for the code I would place in the index.php file in order for the following link ('http://mydomain.com/index.php?Brand=Adidas&ProductID=Trainers') to narrow down the info called from the mySQL database and display all corresponding products and associated column info in a table (can juggle the table display bit).
I'd imagine it's some sort of loop and "if" statement, although that would be a lot of coding to do for so many products.
I just need the connection as even now if I type 'http://mydomain.com/index.php?Brand=Adidas&ProductID=Trainers' into the address bar, it returns the contents of 'http://mydomain.com/index.php'
Does that make sense... stuck! Help! I wouldn't even know what to put in the search bar in google to get the results i want
Much obliged...
Am constructing a rather large database-based product website.
If my imaginary page is: 'http://mydomain.com/index.php' I'm looking for the code I would place in the index.php file in order for the following link ('http://mydomain.com/index.php?Brand=Adidas&ProductID=Trainers') to narrow down the info called from the mySQL database and display all corresponding products and associated column info in a table (can juggle the table display bit).
I'd imagine it's some sort of loop and "if" statement, although that would be a lot of coding to do for so many products.
I just need the connection as even now if I type 'http://mydomain.com/index.php?Brand=Adidas&ProductID=Trainers' into the address bar, it returns the contents of 'http://mydomain.com/index.php'
Does that make sense... stuck! Help! I wouldn't even know what to put in the search bar in google to get the results i want
Much obliged...