je sais j'ai déjà regardé mais ce que je ne comprend pas c'est la page qui récupère les données qui a été inséré dans la base de donné.
voici ce que j'ai fait sur cette page :
<!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" />
<link rel="stylesheet" media="screen" type="text/css" title="style" href="http://www.astuce-et-creation.com/style.css" />
<title>Astuce & Création.com</title>
<style type="text/css">
<!--
.Style2 {
color: #957000;
font-weight: bold;
font-size: 14;
}
.Style3 {
font-size: 12px;
font-weight: bold;
color: #957000;
}
.Style4 {font-size: 12px;
align: left;}
.Style6 {
color: #957000;
font-size: 48;
}
.Style7 {
font-size: 48px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<?php
include("http://www.astuce-et-creation.com/includes/titre.php");
include("http://www.astuce-et-creation.com/includes/menu.php");
?>
<div id="corps">
<?php
if(!
isset($_GET['id_astuce'])){ echo'aucun sujet pour le moment.';
}
else{
?> <?
$sql = 'SELECT descriptif, pseudo FROM astuce WHERE id="'.$_GET['id_astuce'].'"';
?>
<table width="100%" height="97" border="1" cellspacing="0" >
<?
echo'<td align="center">';
?>
echo'</td></tr><tr><td height="100%">';
?></span></strong>
<span class="Style4"> <?php
if(isset($_POST['descriptif'])) $postArray = &$_POST['descriptif'] ; // 4.1.0 or later, use $_POST
else
$postArray = &$HTTP_POST_VARS['descriptif'] ; // prior to 4.1.0, use HTTP_POST_VARS
foreach($postArrayas$sForm => $value)
{
else
?>
<tr>
<td valign="top" nowrap><b><?=$sForm?></b></td>
<td width="100%"><?=$postedValue?></td>
</tr>
<?php
}
?><?
echo'</td><tr>';
?></span>
</table>
</div>
</div>
<?php
include("http://www.astuce-et-creation.com/includes/copyright.php");
?>
</body>
</html>