Hi. I have this problem. I have multiple arrays. I add them to a variable, and add that variable to my email function to be sent, but the results keep getting truncated. Any ideas why? Any advice or a better way of going about it would be appreciated.
Question 1 - Incorrect. Actu"
You see, it always stops at the u of Actu.
else {
for($j=0;$j<count($sizeof8);$j++) { // $sizeof8 is the array
$outputt10 = $sizeof8[$j]; // add it to a variable
$anss = "$speechst Question $realyy - Incorrect. Actual Answer was :$outputt10"; // add it to the variable $anss to be added to body of message
$sizeof6 = array_merge($sizeof,$sizeof2); // combine two arrays to be used for message body
for($j=0;$j<count($sizeof6);$j++) {
//for($j=0;$j<count($sizeof8);$j++) {
$me2 .= $anss[$j];
$body = "$email, $name, $Company, $City, $phone_no, $currentgrade, $currentScore, $me2";
}
}
results of array in body of email getting truncated
Moderator: General Moderators
Code: Select all
$anss = "$speechst Question $realyy - Incorrect. Actual Answer was :$outputt10"; // add it to the variable...so this...
Code: Select all
$me2 .= $anss[$j];Email me over the code you are using with a quick note on what you are trying to do and I will sort it out for you in the next hour or so.
si@urbanchaos.net
si@urbanchaos.net