Ajout dans un bd
joujou
-
bigbybob -
bigbybob -
salut
je suis entrain de creer un site mais j'ai un probleme d'ajouter des donnees dans ma base.
j'ai une page html qui contient le formulaire:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
</head>
<body>
<center><form name="formulaire" action="ajout.php" method="post">
CIN:<input type="password" name="cin" /><br /><br />
Nom:<input type="text" name="nom" /><br /><br />
Prenom:<input type="text" name="prenom" /><br /><br />
Section:<input type="text" name="section" /><br /><br />
Niveau:<input type="text" name="niveau" /><br /><br />
<input type="submit" value="valide"> <input type="reset" value="Annuler">
</form></center>
</body>
</html>
et une page php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
</head>
<body>
<center><form name="formulaire" action="ajout.php" method="post">
CIN:<input type="password" name="cin" /><br /><br />
Nom:<input type="text" name="nom" /><br /><br />
Prenom:<input type="text" name="prenom" /><br /><br />
Section:<input type="text" name="section" /><br /><br />
Niveau:<input type="text" name="niveau" /><br /><br />
<input type="submit" value="valide"> <input type="reset" value="Annuler">
</form></center>
</body>
</html>
s'ils vous plais quelqu"un m'aide merci
je suis entrain de creer un site mais j'ai un probleme d'ajouter des donnees dans ma base.
j'ai une page html qui contient le formulaire:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
</head>
<body>
<center><form name="formulaire" action="ajout.php" method="post">
CIN:<input type="password" name="cin" /><br /><br />
Nom:<input type="text" name="nom" /><br /><br />
Prenom:<input type="text" name="prenom" /><br /><br />
Section:<input type="text" name="section" /><br /><br />
Niveau:<input type="text" name="niveau" /><br /><br />
<input type="submit" value="valide"> <input type="reset" value="Annuler">
</form></center>
</body>
</html>
et une page php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
</head>
<body>
<center><form name="formulaire" action="ajout.php" method="post">
CIN:<input type="password" name="cin" /><br /><br />
Nom:<input type="text" name="nom" /><br /><br />
Prenom:<input type="text" name="prenom" /><br /><br />
Section:<input type="text" name="section" /><br /><br />
Niveau:<input type="text" name="niveau" /><br /><br />
<input type="submit" value="valide"> <input type="reset" value="Annuler">
</form></center>
</body>
</html>
s'ils vous plais quelqu"un m'aide merci