Codice PHP:
array (size=2)
  
=> 
    
object(stdClass)[3]
      public 
'id' => string '1' (length=1)
      public 
'name' => string 'test' (length=4)
      public 
'author' => string '1' (length=1)
      public 
'image_url' => string 'http://www.triche.co/images/dZ1Lk.jpg' (length=37)
      public 
'comment' => string 'awidjawuidj' (length=11)
      public 
'tag' => string 'a' (length=1)
  
=> 
    
object(stdClass)[4]
      public 
'id' => string '2' (length=1)
      public 
'name' => string 'test2' (length=5)
      public 
'author' => string '1' (length=1)
      public 
'image_url' => string 'http://www.triche.co/images/dZ1Lk.jpg' (length=37)
      public 
'comment' => string 'adwdwawd' (length=8)
      public 
'tag' => string 'a' (length=1
Ecco che succede se inserisco più records nella tabella. Ho messo al posto di mysql_fetch_array mysql_fetch_object perchè mi piace fare la freccina nel codice ->...
Comunque se io tipo dovessi elencare le colonne name e image_url in una tabella come dovrei fare?

Grazie ancora.