View Single Post
  #12  
Old 12-19-2008, 10:35 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: Data passing between template and PHP file

What you added in the common_templetes.tpl .Can you post it here.So i can able to identify where the problem is.
Quote:
Originally Posted by AMMoyer
I've tried the suggestions and it still responds the same. These are the two versions of the line I tried in the PHP file:

$smarty->assign ("main", "newname");
and
$smarty->assign ("main", $newname);

but neither seemed to do the trick. I also added the elseif statement to the file mentioned. Could there be another file that I need to use the elseif statement in or is this the only one?

Thanks again.
Adam
Reply With Quote