Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/03/2012, 16:29
Maluber
 
Fecha de Ingreso: noviembre-2007
Mensajes: 55
Antigüedad: 16 años, 5 meses
Puntos: 0
consulta json de mysql luego imprimir en php

Buenas, tengo un codigo en json por lo que investigue por ahi y me gustaria imprimir los datos q hay en ahi con php con un for o while o ....

Código PHP:
 {
    
"3d0cd9d4-d1d1-4488-84c0-e82b102af1ad":  {
        
"0":  {
            
"title""Al clamor final",
            
"path""AlClamorFinal.mp3",
            
"lrc""",
            
"img"""
        
},
        
"1":  {
            
"title""El loco",
            
"path""el_loco.mp3",
            
"lrc""",
            
"img"""
        
},
        
"2":  {
            
"title""Celestial",
            
"path""Celestial.mp3",
            
"lrc""",
            
"img"""
        
}
    },
    
"811f9222-fd42-4c82-a77d-cc5d68d94cde":  {
        
"value""1"
    
},
    
"c2f19082-507f-4778-9ddb-aa2d6889d6be":  {
        
"votes"0,
        
"value"0
    
},
    
"9342f36b-6bb3-4e6f-9639-48968ad6f03b":  {
        
"value""1"
    
}

lo que mas me interesa del codigo que hay arriba es

Código PHP:
Ver original
  1. "0":  {
  2.             "title": "Al clamor final",
  3.             "path": "AlClamorFinal.mp3",
  4.             "lrc": "",
  5.             "img": ""
  6.         },
  7.         "1":  {
  8.             "title": "El loco",
  9.             "path": "el_loco.mp3",
  10.             "lrc": "",
  11.             "img": ""
  12.         },
  13.         "2":  {
  14.             "title": "Celestial",
  15.             "path": "Celestial.mp3",
  16.             "lrc": "",
  17.             "img": ""
  18.         }

ummm ojala y me pudieran ayudar imprimirlo las tres entradas que hay o los que hubiera jejeje

Salu2