full name

hi friends,

Can you please tell me what is the key name of full name for example:-

for nick name we use = $p_arr['NickName']

what is the key for full name, 

I can search it in database but  i am lazy you know Laughing

Thanks........

so much to do....
Quote · 17 Oct 2011

There is no single variable for this.  The "First Name" and "Last Name" fields are stored seperately.  To ascertain a member's full name, assuming they are logged in (and that they have filled out these two fields if you've made them non-mandatory) would be as follows:

Here are a few examples, For the following, assume the first name is John, and the last is Doe.

 

$mbrFullName = $p_arr['FirstName'] . " " . $p_arr['LastName'];  // Would set $mbrFullName to "John Doe"

$mbrFullName = $p_arr['LastName'] . ", " . $p_arr['FirstName']; // Would set $mbrFullName to "Doe, John"

 

should be fairly simple what to do from here.

Quote · 17 Oct 2011

Thanks for your reply.

Problem solved :)

so much to do....
Quote · 17 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.