Re: How to get value from drop down box to e-mail with php



Message-ID: <1151638485.258930.165200@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> from
kandi111777 contained the following:

<select name="selectitem" size="1">

and

$Subject = $_POST['selectitem'];

All you really had to do was make sure they were the same case. You had
$Subject = $_REQUEST['subject'];
and
<select name="Subject" size="1">

Okay, now do you happen to know how to BCC a recipient?

mail( "kandihumpf@xxxxxxxxxxxxxxx", "RCI Waterjets Contact Us Form",
"Name: $Name \n\nComments: $Comments \n\nEmail: $Email
\n\nTelephone: $Telephone \n\nFax: $Fax \n\nSubject: $Subject
\n\nSubject Other: $SubjectOther \n\nContact Requested:
$ContactRequested", "From: kandihumpf@xxxxxxxxxxxxxxx
\nBcc:me@xxxxxxxxxxx" );

Doesn't work on some setups though. Check with your service provider.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
.



Relevant Pages

  • Re: uk.* control
    ... It's only Usenet, no one dies. ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ... Prev by Date: ...
    (uk.net.news.config)
  • Re: php trivia: =>
    ... It's only Usenet, no one dies. ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ... Prev by Date: ...
    (comp.lang.php)
  • Re: Displaying user defined select
    ... It's only Usenet, no one dies. ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ...
    (comp.lang.php)
  • mail() returns false but mail is sent
    ... It's only Usenet, no one dies. ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ... Prev by Date: ...
    (comp.lang.php)
  • Re: Searching through an array
    ... It's only Usenet, no one dies. ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ...
    (comp.lang.php)