View Single Post
  #2 (permalink)  
Old 08-03-2007, 03:11 AM
vivekanandan vivekanandan is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 41
vivekanandan is on a distinguished road
Default Re: when i load the tpl file using ajax it displays question mark(?) for   .How

hi,
just code the business logic in a separate tpl file and call this smarty function
which return the output as a string.

$vStr = $oSmarty->fetch('Logic.tpl');
echo $vStr;

Regards,
Vivekanandan.
Reply With Quote