Les fonctions en PHP
Bonjour,
J'ai une question toute bete et j'ai pas d'ordi a cote de moi pour essayer : Peut t-on creer un fonction avant de commencer la page html ? exemple : (abrege)
<?php je creer ma fonction ?>
<!DOCTYPE HTML>
<html> (je fais ma page)
<?php (j'utilise ma fonction)?>
</html>
Merci de vos reponses
J'ai une question toute bete et j'ai pas d'ordi a cote de moi pour essayer : Peut t-on creer un fonction avant de commencer la page html ? exemple : (abrege)
<?php je creer ma fonction ?>
<!DOCTYPE HTML>
<html> (je fais ma page)
<?php (j'utilise ma fonction)?>
</html>
Merci de vos reponses