Jump to content

Templating [ not smarty ]


play_

Recommended Posts

Well you put the HTML into a CONSTANT and define it on both SCRIPT page and Include File where it lies. You set the Constant to lets say "News", and you str_replace('{_USERNAME_}',$username,News);

 

I never use this method because you can add LOOPS, because this method is false. There are other ways I havnt explored either..

Link to comment
https://forums.phpfreaks.com/topic/91363-templating-not-smarty/#findComment-468169
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.