Jump to content

Passing form submit data to nested .php document?


HalfNote5

Recommended Posts

I have a framework .php file (for right now we'll call it "index.php")

 

Within index.PHP, it includes another PHP (which we'll call PagePanel.php)  to show all of the items in a list (or a portion thereof, as dictated by a search parameter, which we'll call "SearchString").

 

 

 

I would like to be able to do a post form submit of "SearchString" to index.php and when index.php loads the included PagePanel.php, it also passes "SearchString" to PagePanel.php's $_POST array.

 

Any easy way to do this?  I've been googling it, but I'm evidently not phrasing it correctly.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.