What is the meaning of <?php _e('Password') ?>

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pankajdeoria
Forum Newbie
Posts: 15
Joined: Thu Mar 12, 2009 10:58 am
Location: Bangalore,India

What is the meaning of <?php _e('Password') ?>

Post by pankajdeoria »

Please Tell me the Detail of the Following Code

Code: Select all

<p>
        <label>[b]<?php _e('Password') ?> [/b] <br />
        <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
    </p>

Code: Select all

<?php _e('Password') ?>
This is the Code

What will Highlighted Code Do? Please tell me in detail about the highlighted code also.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: What is the meaning of <?php _e('Password') ?>

Post by jayshields »

It's probably some form of internationalisation. So it will print the Password label in different languages. That's only a guess, very poor function naming!

You'll have to check the source where the _e function is defined.
Post Reply