• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PHP Help: How can I output data i get through a PHP form to a popup window?

timelapse

Senior member
Hello everyone, I know this might be really easy but I have been hitting my head on the desk trying to figure this out, but I guess since my knowledge of html and php is limited, well i haven't figure it out. What i want is to output a name i receive on a form with a submit button on one page, to another popup window (preferrably a small one) 😉

Thais is kinda embarrasing... 😱
 
Better description

three file way

Form.php prints the form out
Processform.php process the form and prints out the javascript that opens up the next file
Showinput.php prints the form input

to send the information from the processform.php to the showinput.php you can do it in many ways, Sessions, Cookies, files or database. Just take your pick.
 
and btw.. you can just also have it as one file

form.php

just instead of processform.php you have form.php?action=process and then form.php?action=showinput instead of the other file.
 
Back
Top