Where to view sent information in a XHTML form?

November 4th, 2009 | by admin |

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

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.

2 Responses to “Where to view sent information in a XHTML form?”

  1. By Moe on Nov 4, 2009

    make a .php file that shows the result

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

    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
    References :

  2. By arbpen on Nov 4, 2009

    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.
    References :

Post a Comment