Thank you Ken!!!!!
Sorry about that, i was just being very thick!
It all works now.
Thank you to everyone who helped me out on this one.
cheers, jasboy
i have had a look at other sites that have thing functionality so it shouldn't be a problem to do. i'm pretty sure i'm almost there, so i don't wanna give up on this just yet. any thoughts guys are much appreciated.
cheers,
jasboy
hi guys,
still having problems getting this thing to work. to make things a little clearer i have uploaded the form i will be using along with the code for the target page. hope you can help me out??!!
http://tgvtesting.co.uk/form/form.html
cheers
jasboy
i just tried this script, but i still get the parse error. it just doesn't seem to recognise the values. remember that the form resides on a different page from the actual php script. maybe i need to start again with the form page and the thankyou page. has anyone got time to knock me these up...
thx for all the attention.
so just to clarify, are you saying that this script from the thankyou page will work, or do i need to do alternative things....
<?php
@extract($_POST);
$name = $GetFirstName . ' ' . $GetSurname;
$email = stripslashes($GetEmail);
$subject = 'Email From Website'...
hi there again.
ok guys...
i am using the code below on the thankyou.php return page. all the values are entered from a form on another page.
...but i still get a parse error:
Parse error: parse error, unexpected T_VARIABLE in blah blah blah.. on line 11
... which is this line
$to_addr =...
This is what i did, but i got a parse error:
<?php
@extract($_POST);
$name = ("$GetFirstName $GetSurname");
$email = stripslashes($GetEmail);
$subject = ("Email From Website");
$text = stripslashes("Hi there,\n\n\I would like to register, so here are my details:\n\nName: $GetTitle...
thx for your reply sleipnir214,
this works if you want to send it to two recipients
i.e. both email checkboxes ticked.
...but it doesn't work if only one checkbox is ticked, because it doesn't recognise a blank email address for the unchecked email checkbox.
therefore, the email will probably...
Hi there,
I have a form that users complete. I want to give them options where to send it to. There are two check boxes each with a designated email address value. when the form is submitted to the php script, it needs to know where to send the info to (GetEmailAddress1 and/or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.