Ok - this might sound dumb but here's my issue.
I have a form that i successfully pass a hidden field to using this:
<input type="hidden" name="propemail" id="propemail" value="'.get_post_meta(isset($_GET['pid'])? $_GET['pid'] : get_the_ID(), property_email, true).'"/>' . $nl;
ie. i can see the correct property_email (actual email) in my form.
I'm trying to pass this email value to the php script that sends emails. I dont' know how to do that.
here is what I'm trying:
$propmail = $_GET['propemail'];
which i then call here
$headers.= "BCC: ". $propmail . $eol;
Now when i hardcode with this:
$propmail = 'joe@something.com'
It works (the message is sent to the bcc email address.
Can someone PLEASE help me.
Thanks in advance
passing a form value to email script
Moderator: General Moderators
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
it's post.
here is the link http://www.pascallanguillon.com/vplptes ... le-quercy/ (it's in the middle of the page)
Thanks for your help...
here is the link http://www.pascallanguillon.com/vplptes ... le-quercy/ (it's in the middle of the page)
Thanks for your help...