Guest User

Untitled

a guest
Mar 22nd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. }
  2. }
  3.  
  4. {
  5.  
  6. if(is_array($product))
  7. {
  8.  
  9. foreach($product as $key => $value)
  10. {
  11. echo '<',$key,'>';
  12. if(is_array($value))
  13. {
  14. foreach($value as $tag => $val)
  15. {
  16. echo '<',$tag,'>',htmlentities($val),'</',$tag,'>';
  17. }
  18. }
  19. echo '</',$key,'>';
  20.  
  21. }
  22. }
  23.  
  24. }
Add Comment
Please, Sign In to add comment