Advertisement:

Author Topic: PHP - how SAVE THIS "_e ('Password', 'realestate');" in a variable?  (Read 580 times)

AdrianOlmedo

  • Newbie
  • *
  • Posts: 46
  • Working with Osclass 3.7.5
$var = _e('Password', 'realestate');

I want to do that, but what it does is print screen

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: PHP - how SAVE THIS "_e ('Password', 'realestate');" in a variable?
« Reply #1 on: March 23, 2015, 04:55:05 pm »
@AdrianOlmedo
correct syntax is:
Code: [Select]
$var = __('Password', 'realestate');

AdrianOlmedo

  • Newbie
  • *
  • Posts: 46
  • Working with Osclass 3.7.5
Re: PHP - how SAVE THIS "_e ('Password', 'realestate');" in a variable?
« Reply #2 on: March 23, 2015, 05:02:01 pm »
Thank worked!  :D