Jump to content
php.lv forumi

Variables


Robis

Recommended Posts

Sveiki!

Kaa es varu uztaisiit variablu ar cita variablja paliidziibu??? Man vajag shaadi, piemeeram:

 

$lang = "lv";

 

// vajag dabuut variablu text_lv , kur lv vietaa var buut arii kas cits vai var shaadi?

 

$text_{$lang} = "texts ...";

 

Kaads nezin, vai tas ir pareizi un kaa to realizeet?

Link to comment
Share on other sites

×
×
  • Create New...