Greaser9780 Posted August 29, 2006 Share Posted August 29, 2006 I am creating a site for gamers to play tournaments online. I need to insert the following into a table on my pages. I want to create a db table to list all of the listed game clans for each ladder: Singles,Doubles,Quads and so on. I would like to have the page automatically load the quads table but then offer a dropdown box that will let the user select between which ladder will show up. Can this be done without the page changing and only the information in that section of my table changing? I'm thinking have the php commands set at that area of my table. Have these codes automatically call the Quads clans from the db.<--Not sure I will even be able to do that. Then what really confuses me is how do I get the dropdown box to select which potion of the table I want. I am guessing that I first need to set up a different table for each:Singles, Doubles, and Quads. Then I would prob start the php in my table with my include'db.php'; What I don't know is how to call each table from the db to page view, via:dropbox. When it does do this I need to set it up so it can display other things from the table other than the clan name. Sorry post is so long. If you can understand all of my jibberish and think you can help, please respond. Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 29, 2006 Share Posted August 29, 2006 You are askin for a lot of information hereRead up on information on Mysql Quote Link to comment Share on other sites More sharing options...
Greaser9780 Posted August 29, 2006 Author Share Posted August 29, 2006 Will do. But won't the dropdown box be a php thing? Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 29, 2006 Share Posted August 29, 2006 <form method='post' action=''><select name='something'><option>option1</option<option>option2</option></select><input type='submit' value-'Submit' /></form> Quote Link to comment Share on other sites More sharing options...
Greaser9780 Posted August 29, 2006 Author Share Posted August 29, 2006 So then each option calls a new php file which selects the proper table? Which would mean calling a whole new page for each MySQL table. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.