Welcome Guest, Not a member yet? Register   Sign In
Variables in language strings.
#1

[eluser]Young Caveman[/eluser]
Hi to you all. Smile

There's no problem when i have to display a message like:

"User added Successfully."

What if I have to display ALSO the username of the user just created? I can't specify the username in the language files cause obviously the username is changing everytime a user is created.

"User [USERNAME] added successfully". <-- It is possible to do this? And if yes , how i can do that?

Thanks in advance.

Don ~ Alberto (Italy, so please try to undestand my english ;P)
#2

[eluser]wiredesignz[/eluser]
Look into using printf() and %s
#3

[eluser]Young Caveman[/eluser]
Thanks i'll check it out. Smile
#4

[eluser]Référencement Google[/eluser]
Check that too:
http://ellislab.com/forums/viewthread/75629/




Theme © iAndrew 2016 - Forum software by © MyBB