View Single Post
  #6  
Old 01-18-2005, 03:47 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Kinda old but I'm reviewing your posts for optimizations so I thought I'd drop a note in here.

You can open auth.php and at the bottom put:

Code:
if ($login) { $name = func_query_first("SELECT firstname,lastname from $sql_tbl[customers] WHERE login='$login'"); $smarty->assign("name",$name); }

Then use {$name.firstname} and {$name.lastname}
Reply With Quote