Re: [PHP] Template and Replacement

2002-08-13 Thread Bas Jobsen
http://www.php.net/manual/en/function.str-replace.php In PHP 4.0.5 and later, every parameter to str_replace() can be an array. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Template and Replacement

2002-08-13 Thread Alex Shi
Hello, Currently I am using following method to generate dynamic page content: 1. Create a page template, in which the places where substitution is supposed to take place are marked by a key bracketed with '{' and '}'. For example: {news}, {date}, {headlines}, {article_content}.. 2. in php sc