![]() |
admin page options.
im making an admin page to edit one of my hacks, how do i make a page get all the rows from a table in the database, and show yes/no boxes on my page with the defaults what they are currently in the database. also how would i go about updating the database with the updated options.
i know you start off with somthing like this PHP Code:
|
print_radio_row()
|
ah! thanks
still, ineed to know how to have those radio buttons update to the database... BTW marco i dont think there is a version 4.5.0 Beta3 of vbulletin :D |
Blaine,
Take a look in admincp/options.php Search for "if ($_POST['do'] == 'options')" - the code there displays the option rows and "if ($_POST['do'] == 'dooptions')" - the code there saves the options That should get you started. |
just what i needed! thanks!
|
All times are GMT. The time now is 06:29 AM. |
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:
|