mi chiedevo, in php una variabile può avere un nome che è una variabile? :master:
magari è una domanda stupidissima, nel caso chiedo scusa in anticipo!![]()
mi chiedevo, in php una variabile può avere un nome che è una variabile? :master:
magari è una domanda stupidissima, nel caso chiedo scusa in anticipo!![]()
My name is Saul Tigh, I am an officer in the Colonial Fleet. Whatever else I am, whatever else it means, that's the man I want to be. And if I die today, that's the man I'll be.
in che senso?
ad esempio:
Codice PHP:
$array = ciao;
no nel senso che se ho
Codice PHP:
$nome = pippo
posso scrivere una cosa tipo, (sto inventando ma è per rendere l'idea...):
che vuol direCodice PHP:
$($nome) = 3
Codice PHP:
$pippo = 3
My name is Saul Tigh, I am an officer in the Colonial Fleet. Whatever else I am, whatever else it means, that's the man I want to be. And if I die today, that's the man I'll be.
figata! grazieOriginariamente inviato da pictor
Guida PHP![]()
My name is Saul Tigh, I am an officer in the Colonial Fleet. Whatever else I am, whatever else it means, that's the man I want to be. And if I die today, that's the man I'll be.