Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Gábor Papp
Added: Jul 1, 2019 2:43 AM
Views: 8
Tags: no tags
  1.     if ($list['id']) { $list=[$list]; $csakegy=true; }
  2.     for ($i = 0; $i < count($list); $i++) {
  3.        
  4.     }
  5.     if ($csakegy) { $list=$list[0]; }
  6.     return $list;