Variable persistence in PHP
问题 i have a php page, on that page i have text boxes and a submit button, this button runs php in a section: if(isset($_POST['Add'])){code} This works fine here and in that section $name,$base,$location etc are calculated and used. but that section of code generates another submit button that drives another section of code. it is in this second section of code that i wish to add data to the DB. Now i already know how to do this, the problem is that the variables $name and so forth have a value