Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (count($array) == count($array, COUNT_RECURSIVE)){
- echo $array['Name'];
- echo $array['Surname'];
- echo $array['Email'];
- }else{
- foreach($res as $val){
- echo $val['Name'];
- echo $val['Surname'];
- echo $val['Email'];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement