bonsoir, je cherche (deseperement) le moyen de concatener une chaine html+php
$php=".php3";
if(file_exists("$id$php")){}
else {
$fp=fopen("$id$php",'a');
fwrite($fp,$contenu) ;
}
Quelqu'un sait il comment je dois coder la variable $contenu ?
merci d'avance
Modifié par pareto (20 Jan 2010 - 19:49)
$contenu="
$titre = "1";
<html>
<head>
<title><?php $titre ?></title>
<style>
body {
background-color: #cfcecc; }
</style>
</head>
<body onunload="javascript:window.opener.location.reload()">
require "comment3.inc.php3";
echo "</body></html>";
$php=".php3";
if(file_exists("$id$php")){}
else {
$fp=fopen("$id$php",'a');
fwrite($fp,$contenu) ;
}
Quelqu'un sait il comment je dois coder la variable $contenu ?
merci d'avance
Modifié par pareto (20 Jan 2010 - 19:49)