Originally posted by xoggoth
View Post
![Cheers](https://forums.contractoruk.com/core/images/smilies/cheers.gif)
$description = urldecode($_POST['description']);
<?php
$foo = array("foo", "bar bar");
$bar = 1;
echo urlencode("blah $foo[$bar]\n");
?>
blah+bar+bar%0A
$description = urlencode($description);
$description .= $num[$i]." ".$descs[$i]." ".$fprice[$i]." each, total = ".$fcost[$i]." \r\n";
$description .= "$num[$i] $descs[$i] $fprice[$i] each, total = $fcost[$i] \r\n";
$description .= $num[$i]." ".$descs[$i]." ".$fprice[$i]." each, total = ".$fcost[$i]." \r\n";
$description .= $num[$i]." ".$descs[$i]." ".$fprice[$i]." each, total = ".$fcost[$i]." \r\n";
Leave a comment: