linden.940 Posted February 26, 2009 Report Share Posted February 26, 2009 ok i keep on trying to test this but its not working..i tryed alot of things..i am new to php and trying to learn how to use php...can someone plez tell me what i did wrong? The form html side Your Name: Your Phone: Your E-mail: Code: What you think about me: the php side <? $nameone = $_REQUEST['nameone']; $phone_no = $_REQUEST['phone_no']; $email = $_REQUEST['email']; $code = $_REQUEST['code']; $text1 = $_REQUEST['text1']; $send_email = "Name {$nameone} Phone number {$phone_no} email {$email} code {$code} text1 {$text1}; mail( 'linden.940@gmail.com', 'Feedback Form Results"', $send_email); ?> Quote Link to comment Share on other sites More sharing options...
Scripted Posted February 26, 2009 Report Share Posted February 26, 2009 Hmm ... try to echo on the screen Instead of : mail( 'linden.940@gmail.com', 'Feedback Form Results"', $send_email); try echo "$send_email"; Do you see all the information? Something wrong with your php syntax, can you re-check it again? mail( 'linden.940@gmail.com', 'Feedback Form Results"', $send_email); Quote Link to comment Share on other sites More sharing options...
linden.940 Posted February 27, 2009 Author Report Share Posted February 27, 2009 no..that did not work...i came up as an error Quote Link to comment Share on other sites More sharing options...
linden.940 Posted February 27, 2009 Author Report Share Posted February 27, 2009 i found out what i did wrong...a noobie mess up i did not put " at the end of {text1} i had {text1}; not {text1}"; <? $nameone = $_REQUEST['nameone']; $phone_no = $_REQUEST['phone_no']; $email = $_REQUEST['email']; $code = $_REQUEST['code']; $text1 = $_REQUEST['text1']; $send_email = "Name {$nameone} Phone number {$phone_no} email {$email} code {$code} text1 {$text1}; mail( 'linden.940@gmail.com', 'Feedback Form Results"', $send_email); ?> 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.
Note: Your post will require moderator approval before it will be visible.