Problem: Hi, Im having a hard time making a foreach in PHP, that has arrays of strings, then I will add all those strings in a one single string or store in a single variable.
Purpose: My purpose for this is because I want to make an echo substr() of the total of all strings which is for my other reasons.
What I've done so far:
<?php
$values = array();
foreach ($acknowledgementspecifics as $specifics);
{
?>
<?php $values = array[]("".$specifics->feetype_name." (".$specifics->month_date.") ".$specifics->payment_amount.", "); ?>
<?php
}
// (Combine all Arrays)
// $totalvalue = (total of all combined strings);
?>