Code php

Résolu/Fermé
tifawa - 2 août 2010 à 15:52
 nono - 2 août 2010 à 18:56
Bonjour,
j'ai un blem dans mon programme et j'ai besoin de vous conseil pour m'aider

je veux integrer un code html dans un code php mé j'ai encors des fautes ;
voila mon code:
<html>
<head>
<title>frameC</title>
<style type="text/css">
body{background-color:#828282;}
</style>
</head>
<body>

<p>

<form method="POST" action="ban-p.php">

<table id="tab1" style="height:400px; width:800px">
<tr>
<td><select name="donne">
<option >retrait</option><option >recharge</option>
<option >payement</option><option selected="selected">dépot</option>
</select>
<i>(menu avec présélectionnement retrait)</i></td>
</tr>
<tr>
<td><b>date</b></td>
<td><input type="text" name="donnee" MAXLENGTH="4"/>
<input type="text" name="donnee"/>
</tr>
<tr>
<td colspan="2" align="center" class="second">
<form method="post">
<input type="submit" name="valider" value="valider">
</form>
</td>
</tr>


<?php

if (isset($_POST['valider']))
{
echo'<table width="847" height="725" border="2" bordercolor="#996633" bgcolor="#999999">';
echo'<tr bgcolor="#CCCCCC">';
echo'<td width="95"><span class="Style2">N°</span></td>';
echo'<td width="133"><span class="Style2">Ville</span></td>';
echo'<td width="213"><span class="Style2">Agence</span></td>';
echo'<td width="36"> </td>';
echo'<td width="334"> </td>';
echo'</tr>';
echo'<tr bgcolor="#FFFFFF">';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'</tr>';
echo'<tr bgcolor="#FFFFFF">';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'</tr>';
echo'<tr bgcolor="#FFFFFF">';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'</tr>';
echo'<tr bgcolor="#FFFFFF">';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<td> </td>';
echo'<p><a href="formulaire.php">clique ici</a> pour revenir au formulaire</p>';

echo'</tr>';
echo'</table>';
}
?>
</table>

</form>
</p>


</body>

</html>


rpn moi vit svp
































A voir également:

1 réponse

Quelle est l'erreur?
0