Usually you don’t have to use php inside a squelette.
The good behiavour if to create a filter in mes_fonctions.php and use it in your squelette
by the way, if you really want, you can add php in your squelette
<?php .... ?>
. If you’re using a include
<?php include(...); ?>
, please check the path. Please also check if the script is really secure.