Welcome Guest, Not a member yet? Register   Sign In
use variable in a construct sintax?
#3

[eluser]chefnelone[/eluser]
[quote author="WanWizard" date="1284391155"]Assuming the object property title_en exists, you can use
Code:
echo $photos->{'title'.$_SESSION['lang_txt']};
[/quote]

Thanks wan


Messages In This Thread
use variable in a construct sintax? - by El Forum - 09-13-2010, 01:59 AM
use variable in a construct sintax? - by El Forum - 09-13-2010, 04:19 AM
use variable in a construct sintax? - by El Forum - 09-13-2010, 04:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB