I have a HTML form and php code is embedded in same html document and i want to transfer the value from HTML text fields to php which embed in same html document.
I know that action attribute of form tag is used to transfer values and we type “Page Name.php” in action attribute when we transfer value to a separate php page.
But
Situation is different now, i DO NOT want to transfer values to a separate PHP page !
I want to transfer the values to PHP code which is embedded in same HTML document !