Alright...
tedteeter;11030695 wrote:In reference to my definition of "Pass", the page retains four different forms an four different "issets" and once the submit button is pressed the "Isset" is encountered and then I assign content to variables,after the form data has been written, which are echo in value fields of the other forms.
If I understand correctly, then you need to understand that PHP cannot do things like this. PHP happens first, on the server. Once you send output (e.g., your HTML forms) to the browser, it is gone from PHP and will not come back. It is not possible to interact with the client (browser). PHP does not exist at the same time or place as the webpage you send to the user's browser.
If you want a user's actions to be sent to the server and update the page based on the server's response, then you need AJAX.
tedteeter;11030695 wrote:Anyways I've learned that "heredoc" isn't what I thought after documentation misrepresented the function. Various processes. "super globals" i.e "$REQUEST, $POST" aren't easily utilized in the content while further documentation discusses escaping stuff in the content.
A heredoc is not a function; it is a way to define a string. I think the manual's definition is actually pretty clear.
In any case, you certainly can use complex variables inside a heredoc:
<?php
$h = <<< HEREDOC
Use curly braces to put complex variables (i.e., array indexes or object properties) inside a heredoc:
{$_SESSION['some_index']} works just fine.
HEREDOC
;
tedteeter;11030695 wrote:I am open to ideas on achieving the content assignment I've described while I understand that "Javascript, Ajax" easily could do the described which I could do without problem....
Appreciatively,
Ted
As I said above, you're looking for AJAX. Use javascript to submit the form (jQuery has good ajax functions), process the form, and echo the result. When javascript gets the result, you can update the page with the new info.