[Vuejs]-Retrieve data from vuejs in looping php

0👍

For what i understand in your question, you want to return a list of your data. you need to have an array container.

<?php 
$arr = [];
foreach($editData as $editData){
$arr[] = $editData;
}
echo json_encode($arr);
?>

Leave a comment