View Full Version : [PHP] struct
Fenomeno85
13-07-2004, 07:46
ma esistono le struct in php?? o mi tocca usare le classi?
~§~ Sempre E Solo Lei ~§~
Puoi fare cosė...non so se sia perfettamente legale ma funziona:
$pippo->uno = 5;
$pippo->due = 6;
echo "$pippo->uno $pippo->due";
Fenomeno85
13-07-2004, 11:50
e se uso una cosa del genere č + "giusta"??
$array ["dato1"] = $dato;
$array ["dato2"] = $dato2;
$array ["dato3"] = $dato3;
$fine = array_merge ($fine, $array);
~§~ Sempre E Solo Lei ~§~
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.