PDA

View Full Version : How Do I Send All Form Results To A Normal Webpage??


wealthy199
10-01-2007, 01:03 AM
Hi there,

I'm trying to make a form which will send all of it's results to another webpage so that all of the results can be publicly viewed.

I don't know much about html or php and would appreciate any guidance on this.

Thanks in advance
Alex

madmatter23
10-01-2007, 01:12 AM
add method="post" to your form tag. This takes every input in the form and adds it to the $_POST array.

ie:

<form method="post" action="destinationpage.php">
<input type="text" name="inputname" />
<input type="submit">
</form>

Then, on the page the receives the the form information, add some php code that displays the information in $_POST.

<?php

echo $_POST['inputname'];

?>

wealthy199
10-01-2007, 01:25 AM
Thanks for the reply.

I tried it out but this came up

HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)

any suggestions?