website logo
Auteur
avatar
snipe

Forum » » Le coin des codeurs » » Question de Raph


Posté : 14 juil. 2003 à 20:15 icone du post

en haut du fichier il fait met <?php $title= "nom du bloc"; $content="
puis son code html du fichier sans " ou en metant un \ devant

puis a la fin ";
?>

voilou :)

en gros
<?php
$title = "un block";
$content = "hi hi \"toto\"
je met nimport qoid";
?>

et la le !include!#rep/fichier.php marchera

Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=6663&forum=5