lucerias Posted November 10, 2006 Share Posted November 10, 2006 I have one customer.php file and i use it to call the customer.html file which consist of the following lines, <td valign=TOP style="padding:0px 3px 0px 3px;" bgcolor="{BG_COLOR}">{LABEL.TITLE}</td> <td valign=TOP style="padding:0px 3px 0px 3px;" bgcolor="{BG_COLOR}">{CUSTOMER.NAME}</td> I can't understand how can the CUSTOMER here be valid, the LABEL is understandable since $customerform=new XTemplate ('customer.html');$customerform->assign("LABEL", $label); has been included into customer.php and however i can't find the similar assignment on CUSTOMER. Still the CUSTOMER.NAME can be displayed out properly. Thank you. Link to comment https://forums.phpfreaks.com/topic/26779-php-assign/ Share on other sites More sharing options...
doni49 Posted November 10, 2006 Share Posted November 10, 2006 SOMEWHERE in one of your included files or the current file, you've created a class named XTemplate. Then there is a variable of type XTemplate. assign is a method of the class. Link to comment https://forums.phpfreaks.com/topic/26779-php-assign/#findComment-122459 Share on other sites More sharing options...
lucerias Posted November 10, 2006 Author Share Posted November 10, 2006 What i want to ask is how can CUSTOMER be valid since i can't any assignment on CUSTOMER like LABEL. Thank you. Link to comment https://forums.phpfreaks.com/topic/26779-php-assign/#findComment-122484 Share on other sites More sharing options...
doni49 Posted November 11, 2006 Share Posted November 11, 2006 I certainly mean NO offense whatsoever, but your english is too broken for me to understand. I'd like to help if I could.Maybe the following documentation on XTemplate will help you. Good luck.http://www.phpxtemplate.org/CategoryCategory Link to comment https://forums.phpfreaks.com/topic/26779-php-assign/#findComment-122954 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.