Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show login name```


sanlam

Recommended Posts

Posted
if (tep_session_is_registered('customer_id')) {
   $account_query = tep_db_query("select customers_firstname, customers_lastname from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");
   $account = tep_db_fetch_array($account_query);

   $name = $account['customers_firstname'] . ' ' . $account['customers_lastname'];


 echo $name;

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...