Skip to content
Advertisement

How i can pass values from one page to another with the help of select option in php?

I have a simple code where i query my database, and set the values in a option list, as shown in the code below :

JavaScript

How can i pass the values from the option list that are in php code in the another page as shown in the form inc/set.php . And what would be the standart and best way to do that. Thank you for yo help folks.

Advertisement

Answer

Use a session variable! See: “PHP Sessions” at W3Schools.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement