Friday, November 16, 2012

Answers > Where to View Sent Information in a XHTML Form?

Where to View Sent Information in a XHTML Form?

by nForms on October 1, 2012

When you make an XHTML form and someone submits it where do you view the submitted form? Thanks for answering!


Similar XForms | XML Posts

{ 2 comments… read them below or add one }

arbpen April 14, 2011 at 9:34 am

The information is sent to the script on the server that processes the submitted data.

Sometimes, the processing script is in the same page, and sometimes it is on another page.

You can look at the source of the page and see where the form is submitting to. Look for something like:
<form method="post" action="somepage.php"> and the action attribute will give you the information.

It all depends on how the author set it up.

Moe April 14, 2011 at 9:34 am

make a .php file that shows the result

html file:
<form method="post" etc..>
<input type="text" name="example">

php file:

$test = $_POST=['example'];

echo "$test"; or was it echo ‘$test’; cant remember

and then it will print out what you submitted in the text box called example.

edit: its also the same with with $_GET

Previous post:

Next post: