1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?php
$jour=$_POST['jour'];
$mois=$_POST['mois'];
$annee=$_POST['annee'];
$inter=$jour.'/'.$mois.'/'.$annee;
$nom=$_POST['nom'];
$local=$_POST['local'];
$bureau=$_POST['bureau'];
$adresseip1=$_POST['adresseip1'];
$adresseip2=$_POST['adresseip2'];
$adresseip3=$_POST['adresseip3'];
$adresseip4=$_POST['adresseip4'];
$adresse=$adresseip1.'.'.$adresseip2.'.'.$adresseip3.'.'.$adresseip4;
$packoffice=$_POST['packoffice'];
$logispe=$_POST['logispe'];
$tel=$_POST['tel'];
$instruction=$_POST['instruction'];
mysql_connect("localhost","root","");
mysql_select_db("FCP");
$req = "insert into FCP (id,date,nom,localisation,bureau,tel,ip,packoffice,logiciel,instruction) values('','$inter','$nom','$local','$bureau','$adresse','$packoffice','$logispe','$tel','$instruction')";
mysql_query($req) or die(mysql_error());
echo "$inter<br> $tel<br> $nom<br> $local<br> $bureau<br> $adresse<br> $packoffice<br> $logispe<br> $instruction<br>";
?> |
Partager