replace template file
Posted: Wed Dec 30, 2009 7:00 pm
I have one php file (search.php) and its html file (search_body.html)
in search.php files, I have
myarray['char_options'] = '<option>en</option><option>fr</option>';
in search_body.html, I have
<select>{char_options}</select>
Then I need to open search_body.html, and replace '{char_options}' with myarray['char_options'], how can I do this ?
Thanks.
in search.php files, I have
myarray['char_options'] = '<option>en</option><option>fr</option>';
in search_body.html, I have
<select>{char_options}</select>
Then I need to open search_body.html, and replace '{char_options}' with myarray['char_options'], how can I do this ?
Thanks.