Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jasboy2005

    sending php email to two addresses

    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
  2. jasboy2005

    sending php email to two addresses

    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
  3. jasboy2005

    sending php email to two addresses

    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
  4. jasboy2005

    sending php email to two addresses

    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...
  5. jasboy2005

    sending php email to two addresses

    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'...
  6. jasboy2005

    sending php email to two addresses

    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 =...
  7. jasboy2005

    sending php email to two addresses

    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...
  8. jasboy2005

    sending php email to two addresses

    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...
  9. jasboy2005

    sending php email to two addresses

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

Part and Inventory Search

Back
Top