Another forum member pointed out a mistake in the code I listed above. The last line should be:
empty($userinfo["s_lastname"]) ? $userinfo["s_lastname"] = $userinfo["b_lastname"] : $userinfo["s_lastname"] = $userinfo["s_lastname"];
Sorry for any confusion.
Mike
__________________
Mike
X-Cart Gold
Version 4.6.0 PHP 5.2.17
|