Log in

View Full Version : Form input to multiple pages challenge



meow
01-03-2008, 07:13 PM
Hi,

I want a form that will pass input parameters to 3 URL's that have different url config but accepts the common input value (value="<?php echo $input; ?>")

computers = form value = "<?php echo $input; ?>"

- url 1
domain.com/folder1/page-1.php?computers

- url 2
domain.com/folder2/page-2.php?offset=0&numresults=15&input=computers&sort=date

- url 3
domain.com/folder3/page-3.php?offset=0&numresults=15&input=computers&sort=date


OK what I want is a form that when submitted will:

1 - Submmit the content <?php echo $input; ?> to 3 pages page-1.php,page-2.php and page-3.php

2 - The results of the submit to 3 pages will ideally open in 3 i-frames in the same page the form is on (or you suggest on how the results from the 3 pages can be displayed and/or configuration).

Note:
The pages page-1.php,page-2.php and page-3.php can be of the same name in different folders
OR
they can be in the same folder with different names.

Suggestions/Help apreciated.

Thanks.