T
|
thesofa 11/19/2008 |
use Concat(`FIRSTNAME`,' ',`LAASTNAME`) as 'User'
$user=Concat(`FIRSTNAME`,' ',`LASTNAME`;
$user=Concat(left(`FIRSTNAME`,1),' ',`LASTNAME`;
|
J
|
Jane 11/19/2008 |
Hi, global $conn; $str = "select `FIRSTNAME`,`LASTNAME` from UsersTableName where UserName='".$value."'"; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $value = $data["FIRSTNAME"]." ".$data["LASTNAME"]; |
W
|
wildwally author 11/19/2008 |
use Concat(`FIRSTNAME`,' ',`LAASTNAME`) as 'User'
$user=Concat(`FIRSTNAME`,' ',`LASTNAME`;
$user=Concat(left(`FIRSTNAME`,1),' ',`LASTNAME`;
|
W
|
wildwally author 11/19/2008 |
Hi, use custom format on the"View as" settings dialog on the Visual Editor tab for this purpose. Here is just a sample:
global $conn;
|
J
|
Jane 11/20/2008 |
Hi, |
W
|
wildwally author 11/20/2008 |
Hi, you need to replace UserName with your actual field name where login name is stored.
global $conn; |
W
|
wildwally author 11/20/2008 |
I still have to be doing something wrong. The user logs in with two fields on the login screen "USERNAME" & "PASSWORD". Here are the changes as I have understood it, and entered in where you described but nothing happens but a blank area (no errors just blank). global $conn;
|