- Joined
- Jul 8, 2005
- Messages
- 17,133
- Likes received
- 4,950
- Thanks received
- 1,184
- Location
- xoggoth towers
Got shopping cart product lines set up to show number, description, price each etc in email sent to customer:
$description .= "$num[$i]"." ".$descs[$i]." ".$fprice[$i]." each, total = ".$fcost[$i]." \r\n";
This works fine when I email to customer directly but when I send exactly the same strings to Worldpay callback (with \r\n replaced by html entity
as they require but I don't think that's relevant) the lines are truncated at the first space. eg 3 Bird Posters etc is just 3 in the email. Any brill suggestions why? Ta.
$description .= "$num[$i]"." ".$descs[$i]." ".$fprice[$i]." each, total = ".$fcost[$i]." \r\n";
This works fine when I email to customer directly but when I send exactly the same strings to Worldpay callback (with \r\n replaced by html entity
as they require but I don't think that's relevant) the lines are truncated at the first space. eg 3 Bird Posters etc is just 3 in the email. Any brill suggestions why? Ta.
Last edited:
13:42
