PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I would like to change the configuration file to select different databases based on user input. I cannot get the variables from the previous page to show up on this page. This code below is the header, I have a form page that has checkboxes with the name db. I send the values to this script but they do not work.....any help?
Is the value $db being passed in as a GET or POST variable? Try using $_POST['db'] or $_GET['db'] depending on which method was used. If you echo out the value does it return anything?