I am only on chapter 3 of my "Learn PHP" book, but unfortunately I have to get this project done.<br /><br />I have an order form that I built using UFM. Half the form info is not required. I currently have this working so it just prints "Not Supplied" in the confirmation email to the customer, but I would prefer it to not appear in the emails at all. Can anyone help? This is included in the controls.php file and it works, but it is not what I want.<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>if(!isset($_POST['purchase_order']) || $_POST['purchase_order'] == '') $_POST['purchase_order'] = 'Not Supplied';</div><br /><br />Thanks<br />Colleen Macintyre<!--content-->
<!--quoteo(post=201025:date=Feb 23 2007, 01:49 PM:name=margecc)--><div class='quotetop'>QUOTE(margecc @ Feb 23 2007, 01:49 PM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=201025"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->I am only on chapter 3 of my "Learn PHP" book, but unfortunately I have to get this project done.<br /><br />I have an order form that I built using UFM. Half the form info is not required. I currently have this working so it just prints "Not Supplied" in the confirmation email to the customer, but I would prefer it to not appear in the emails at all. Can anyone help? This is included in the controls.php file and it works, but it is not what I want.<br /><br />if(!isset($_POST['purchase_order']) || $_POST['purchase_order'] == '') $_POST['purchase_order'] = 'Not Supplied';<br /><br />Thanks<br />Colleen Macintyre<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />OK I found my answer. If anyone using UFM is curious, in the controls.php file at <br /><br />if(isset($_POST['your_file_name']) AND $_POST['your_file_name'] == '') { <br />unset($_POST['your_file_name']);<!--content-->
Welcome to the forums Colleen <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /><br />Glad you got it sorted. Sorry we didn't get an answer for you.<!--content-->
Welcome to the forums Colleen <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Welcome to the forum, Colleen. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
<!--quoteo(post=201025:date=Feb 23 2007, 01:49 PM:name=margecc)--><div class='quotetop'>QUOTE(margecc @ Feb 23 2007, 01:49 PM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=201025"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->I am only on chapter 3 of my "Learn PHP" book, but unfortunately I have to get this project done.<br /><br />I have an order form that I built using UFM. Half the form info is not required. I currently have this working so it just prints "Not Supplied" in the confirmation email to the customer, but I would prefer it to not appear in the emails at all. Can anyone help? This is included in the controls.php file and it works, but it is not what I want.<br /><br />if(!isset($_POST['purchase_order']) || $_POST['purchase_order'] == '') $_POST['purchase_order'] = 'Not Supplied';<br /><br />Thanks<br />Colleen Macintyre<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />OK I found my answer. If anyone using UFM is curious, in the controls.php file at <br /><br />if(isset($_POST['your_file_name']) AND $_POST['your_file_name'] == '') { <br />unset($_POST['your_file_name']);<!--content-->
Welcome to the forums Colleen <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /><br />Glad you got it sorted. Sorry we didn't get an answer for you.<!--content-->
Welcome to the forums Colleen <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Welcome to the forum, Colleen. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->