|
Posted by Ian Rutgers on 05/18/06 21:21
"Martin Jay" <martin@spam-free.org.uk> wrote in message
news:U2GJJhIj7JbEFwDz@spam-free.org.uk...
> In message <ik0bg.174428$WI1.126230@pd7tw2no>, Ian Rutgers
> <irutgers@otima.ca> writes
>>"Martin Jay" <martin@spam-free.org.uk> wrote in message
>>news:YYDqS0C1SFbEFwg6@spam-free.org.uk...
>
>>> Do you really need to do a redirect, though? HTML and PHP code can be
>>> mixed. Perhaps it would be easier to simply include the HTML after the
>>> PHP code in the same file.
>
>>You're right, I could just put the code in on the same page, but once the
>>user completes the page
>>http://www.thetruthsearch.com/explore/what_did_jesus_claim.php the client
>>wants the user to be taken either to a thank you page or back to a menu
>>...
>
> I still wonder if you're not trying to make things too complicated for
> yourself.
>
> I've uploaded a sample PHP file to:
>
> <http://www.spam-free.org.uk/pages/email3.zip>
>
> It emails the results of the form to a chosen email address, and
> displays a 'thank you' to whoever fills the form in.
>
> And linked to in your HTML file like so:
>
> <form action="email3.php" method="post" name="who_is_jesus"
> target="_parent" id="who_is_jesus">
> --
> Martin Jay
Hi Martin,
Yup, your code works just great and if this was the only page where I need
the thank you code ... I would stop here. The issue is that there are 10 of
these forms just on this one page ... 4 to 5 times as many to come. So I
would need a way to only capture and email the data from the posted form
otherwise there would be pages of blank labels.
Navigation:
[Reply to this message]
|