A voir également:
- Include php dans html
- Editeur html - Télécharger - HTML
- Easy php - Télécharger - Divers Web & Internet
- Br html ✓ - Forum Webmastering
- ≪br> ou <br /> ou </br> ✓ - Forum Webmastering
- Saut de lignes sans <br/> ✓ - Forum Webmastering
6 réponses
bonjour,
ta page tu l'enregistre en format.php
ton programme php tu l'ecrit dans yn fichier a part appelle le par exemple config.inc.php
<?
$nom_mapfile=$_POST['lst_mapfile'];
$user='root';
$mot_de_passe='';
$host='localhost';
$bdd=mapfile7;
echo "voici toutes les couches correspondant au mapfile ".$nom_mapfile;
require "creerliste2.php";
//ouverture de connexion
mysql_connect("$host", "$user", "$mot_de_passe");
...
?>
dans ta page principale par exemple page.php:
<html>
<head>
.....
<body> ....
<?PHP include("config.inc.php"); ?>
code html....
</body>
</html>
et voila http://slatrach.free.fr
ta page tu l'enregistre en format.php
ton programme php tu l'ecrit dans yn fichier a part appelle le par exemple config.inc.php
<?
$nom_mapfile=$_POST['lst_mapfile'];
$user='root';
$mot_de_passe='';
$host='localhost';
$bdd=mapfile7;
echo "voici toutes les couches correspondant au mapfile ".$nom_mapfile;
require "creerliste2.php";
//ouverture de connexion
mysql_connect("$host", "$user", "$mot_de_passe");
...
?>
dans ta page principale par exemple page.php:
<html>
<head>
.....
<body> ....
<?PHP include("config.inc.php"); ?>
code html....
</body>
</html>
et voila http://slatrach.free.fr