Jump to content

root.ryan

Members
  • Posts

    2
  • Joined

  • Last visited

root.ryan's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. $output is empty. I'll get an e-mail, but with no content. I tried printing $output, but nothing is displayed. At least I have a starting point now, though. Thanks.Ryan
  2. I have a form with a lot of information. I've managed to set the variable $body to the entire results page, almost. The only part I'm having a problem with is getting the array information (from a group of about 30 checkboxes) into a comma seperated string and assign a variable to it, so that I can include it with the rest of the info in $body to be sent via e-mail. I've tried a few different things unsuccessfully. Here's some code: $body = "a whole lot of html here";print ("$body"); //this prints successfullyif ($mypost_100s[0] == "1") {print ("<strong>All were checked.</strong>");} elseif ($mypost_100s == ""){print ("");} else {foreach ($mypost_100s as $areas100) print ("$areas100, ");}print ("<font color=red>");if ($mypost_101op || $mypost_102op || $mypost_103op || $mypost_104op || $mypost_105op || $mypost_106op || $mypost_107op || $mypost_108op || $mypost_109op || $mypost_110op || $mypost_111op || $mypost_112op || $mypost_113op || $mypost_114op || $mypost_115op || $mypost_116op || $mypost_117op || $mypost_118op || $mypost_119op || $mypost_120op || $mypost_121op || $mypost_122op || $mypost_123op || $mypost_124op || $mypost_125op || $mypost_126op || $mypost_127op || $mypost_128op || $mypost_129op || $mypost_130op || $mypost_131op || $mypost_132op || $mypost_133op || $mypost_134op != ""){// this is special instruction stuff for 101s print ("<BR>Special Instructions for 100s:<BR>"); if ($mypost_101op != "") { print ("101: $mypost_101op, "); } else { print (""); } if ($mypost_102op != "") { print ("102: $mypost_102op, "); } else//and it goes on like that I would like all the information printed out in that to be included with the e-mail sent. (The first page, the actual form, has an area with chechboxes and textareas, where little comments can be put in with the checked item)Any help is appreciated.Thanks,Ryan
×
×
  • Create New...