Home »
FUDforum »
How To »
PHP in templates.
PHP in templates. [message #17753] |
Fri, 16 April 2004 15:41 |
mocara
Messages: 157 Registered: January 2004
Karma: 0
|
Senior Member |
|
|
Is it okay to put php commands inside the tmplates?
e.g. I have
<a class="forumlinks" href="{ROOT}?t={DEF: t_thread_view}&frm_id=6&{DEF: _rsid}">International</a>
Could I place some php in that anchor?
Pais.
|
|
|
Re: PHP in templates. [message #17757 is a reply to message #17753] |
Fri, 16 April 2004 16:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
In most cases no, there are only a few places where it is safe to put PHP code inside templates. This is usually the MAIN_SECTION or the PAGE elements.
FUDforum Core Developer
|
|
|
Goto Forum:
Current Time: Fri Nov 22 20:50:18 GMT 2024
Total time taken to generate the page: 0.02224 seconds