Come si crea un array bidimensionale chiamato, bho, utente, in cui inserire nome e cognome?
Grazie.![]()
Come si crea un array bidimensionale chiamato, bho, utente, in cui inserire nome e cognome?
Grazie.![]()
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/
$utente = array[nome, cognome];
$utente['nome']
$utente['cognome']
![]()
/* No Comment Please */
Se ho
$utente["ciao", "miao"];
$utente["bau", "sbau"];
$utente["cielo", "pelo"];
$utente["cane", "pane"];
ed estrapolo l'elemento [3, 0] ottengo
cielo pelo ?
P.S. Ma che cacchio di nomi...![]()
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/
vedi questo
http://it.php.net/manual/it/function.array.php
/* No Comment Please */
hai provato con
$arr[]=array("nome"=>"gino","cognome"=>"rossi");
$arr[]=array("nome"=>"pino","cognome"=>"verdi");
echo $arr[1]['nome']; //pino
<sfogo> ma porco giuda, leggerlo l'help online ogni tanto! </sfogo>
Grazie del link.![]()
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/
di nulla...
![]()
/* No Comment Please */