This is what i have as my code currently:
<?php
foreach ($data_items as $d)
{
echo $d['x']." + ";
}
echo " = " .$sum;
?>
It is printing out as
2 + 3 + 4 + = 9
I need it to print without the last "+" sign. Ex:
2 + 3 + 4 = 9
Thanks for the help :) .:Alter