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.
replace template file
Moderator: General Moderators
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm