Hello people... I have a little problem here... I hope you can help me...
I'm building a simple template system for a web site, and I created some "tags" in a .html file that I read using the file_get_contents() function. The "tags" I created are something like {menu}, {date}, {user}, etc. Well, the problem shows up when I use the function str_replace("{menu}", $var_with_some_menu_links, $html_contents). Nothings happen and when I output the template contents, I see the tags, in other words, nothing gets replaced. Any ideas on what I'm doing wrong? Thank you very much in advance for your help. P.S. Sorry for my bad english. -- Francisco Javier Escoppinichi Fernández Email: [EMAIL PROTECTED] Web: http://www.fire-dragon.net/ MSN: [EMAIL PROTECTED] Cel: 044 (612) 348 91 00 "Sólo hay 3 cosas que no vuelven atrás: la palabra emitida, la flecha lanzada y la oportunidad perdida." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php