Nee, PHP-Code in HTML-Templates hat keine Auswirkungen, d.h., er wird einfach ausgegeben und nicht geparst.
Ein PHP-Script kannst Du folgendermaßen einbinden:
http://www.typo3.net/tsref/cobject/php_script/ http://www.typo3.net/tsref/cobject/php_script_int/ http://www.typo3.net/tsref/cobject/php_script_ext/
Liebe Grüße
Jo