RE: [PHP] PHP Printing Error Help
| From: | Jay Blanchard | Date: | Wed, 24 Aug 2005 16:41:51 +0000 |
| Subject: | RE: [PHP] PHP Printing Error Help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221287@lists.php.net to get a copy of this message | ||
[snip]
I put the whole code in .txt version at
http://www.primarywave.com/NONworkingCODE.txt
I gave group & global Writing permission aswell, edit if you like.
[/snip]
In the form you have name="InterestedNumber[]" in the e-mail bit you
have $SelectedNumber. Change them to match. If you want to print the
whole array of InterestedNumber....(showing one line above and one line
below at line 34)
$mailBody .= "Main Activities: $activities\n\n";
for($i = 0; $i < count($InterestedNumber); $i++){
$mailBody .= "SelectedNumber: " . $InterestedNumber[$i] . "\n";
}
$mailBody .= "Comments: $comments\n\n\n";