Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/08/2007, 13:51
Fridureiks
 
Fecha de Ingreso: julio-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.304
Antigüedad: 18 años, 9 meses
Puntos: 6
Re: devolver matriz por funcion creada.

Algo asi?

Código PHP:
<?php

function devuelveMatriz()
{
    
$matriz = array("nombre" => "juan""apellido" => "alguno");
    return 
$matriz;
}

$resultado devuelveMatriz();
echo 
$resultado['nombre'];
?>
Saludos
__________________
Federico.

Mi página: www.jourmoly.com.ar