NorozMayar Posted January 18, 2015 Share Posted January 18, 2015 i have a form for sending email with cc and bcc bud when try to send it.. it shows an error.. please see it here http://www.pstwist.com/send-cc-email/ 123.zip Quote Link to comment Share on other sites More sharing options...
dde Posted January 18, 2015 Share Posted January 18, 2015 This is because the variable $mailtoname and $mailtoemail are blank. When you want to get the values of form values, you have to use $_POST. In your form this is also states as "method=post".To get values from a form, you have to send it to the receiving page, in this case it is "sendemailWithCC_BCC.php".On the receiving page use the $_POST variable to get the values from the form.To do this you use $_POST['name of form input']In your case you use $mailtoname = $_POST['mailtoname'];To see if it works just use echo $_POST['mailtoname']; Quote Link to comment Share on other sites More sharing options...
NorozMayar Posted January 20, 2015 Author Share Posted January 20, 2015 so can you edit this and send me the php script.. the page are attached alos.. i well be so thank full to you Quote Link to comment Share on other sites More sharing options...
mac_gyver Posted January 20, 2015 Share Posted January 20, 2015 programming help doesn't mean free programming services. if you cannot attempt to do the work needed to create, change, or fix your code, you need to hire someone to do it for you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.