![]() |
Capturing the selected value
1 Attachment(s)
I have the following code in my php file. The code creates a dropdown in my template of all the teams in the vbcontest_teams_ncaafootball database. I want it to capture the selected team and write it to a different table in the database. If I include the write to db part inside the while loop -- it writes all 12 options (so you can't tell what was selected. If you put it outside of the while loop, it writes a blank. Any ideas on what needs to be there to capture the selected value in the dropdown? See the screenshot if it helps you visualize it.
Code:
if ($_GET['action'] == "createweek") { |
All times are GMT. The time now is 11:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|