php file loaded with jquery not displaying php variables

triff007

New Member
I have a PHP file that contains a button. When the button is clicked an external PHP file is loaded into a div on the same page. The external PHP file contains a form with a hidden variable, the values is set to a PHP variable that was defined in the page with button.Since the PHP file is loaded into the page's div shouldn't it have the same variables as the page?
 
Back
Top