Answer the question
In order to leave comments, you need to log in
How to add data to a string through a loop?
$pre_response='';
for ($i=0; $i <2; $i++) {
$pre_response.='<div class="line_items"></div';
}
echo $pre_response;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question