Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.96 KB | None | 0 0
  1. Array
  2. (
  3.     [room] => Array
  4.         (
  5.             [0] => library
  6.         )
  7.  
  8.     [book] => Array
  9.         (
  10.             [0] => library
  11.             [1] => room
  12.         )
  13.  
  14.     [author] => Array
  15.         (
  16.             [0] => book
  17.         )
  18.  
  19.     [title] => Array
  20.         (
  21.             [0] => book
  22.         )
  23.  
  24.     [genre] => Array
  25.         (
  26.             [0] => book
  27.         )
  28.  
  29.     [price] => Array
  30.         (
  31.             [0] => book
  32.         )
  33.  
  34.     [publish_date] => Array
  35.         (
  36.             [0] => book
  37.         )
  38.  
  39.     [description] => Array
  40.         (
  41.             [0] => book
  42.         )
  43.  
  44. )
  45.  
  46. //and this is the way i get the value i add it after the foreach from forum
  47. if (!empty($rodic_hodnot1['etc']))
  48.                 {      
  49.                         foreach ($rodic_hodnot1['etc'] as  $etc_hodnot1)
  50.                         {
  51.                            $etc_uloziste[$etc_hodnot1][]=$rodic_hodnot1['node'] ;
  52.                             //print_r ($etc_uloziste."/n");
  53.                    
  54.                         }
  55.                         //print_r ($etc_uloziste);
  56.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement