dimanche 22 mai 2016

How to convert this type of code to laravel 5?

while ($row = mysqli_fetch_array($gt_detail)) { $id = $row['id']; $first_name = $row['first_name']; $parent_id = $row['parent_id']; $hide = $row['hide']; $checked = $hide == 1 ? "checked" : ""; }

How to convert this to laravel orm ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1U8uiw2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire