TonyReba
asked on
Inserted data gets a space between
I am using a plugin to authenticate my users , I am modifyig it but somehow it is adding a huge white space between first and last name,,,
I am not sure, as dont know much about php, but is it anything here that might be causing this issue?
I am not sure, as dont know much about php, but is it anything here that might be causing this issue?
// to authenticate, the username must exist in the if ($credentials['password'] == substr ($row->$passwordfield,-4) )
{
if (!empty($firstnamefield)){
$fullname = $row->$firstnamefield;
}
if (!empty($lastnamefield)){
$fullname .= ' '.$row->$lastnamefield;
}
$response->fullname = $fullname;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No problem. Thank you for the points!
ASKER