Hello. Here is my situation:
From the output of a List Section Editors Code Generator - I would like to manipulate and use the FOREACH function to assign variables to each row WITHOUT immediate printed output...
So instead of having it loop through the FOREACH statement and output each row using the $record variable, I want to be able to assign a variable for use later in the page.
The page itself is for boat docking slip assignments. I have a designed table to give people a visual representation of the docks from an overhead view. I would like to use the variables to fill out this matrix.
My thought was to set $i equal to zero before the FOREACH function, then inside the FOREACH function to have $i++ added to the outputted variables.
(example: $dockNumber1 $personsLastName1, $dockNumber2 $personsLastName2, $dockNumber3 $personsLastName3, etc. )
Please let me know if further clarification is needed.
Thank you in advance!