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 33 34 35 36 37
|
<?php
include "configuration.php";
?>
<form action="ajouter_membre_2.php" method="post" enctype="multipart/form-data">
<table border="0">
<tr>
<td colspan="2" align="center">Ajouter un membre ! </td>
</tr>
<tr>
<td>pseudo</td>
<td><input type="text" name="pseudo" size="25" value="<? echo "$pseudo"; ?>"></td>
</tr>
<tr>
<td>nom</td>
<td><input type="text" name="nom" size="25" value="<? echo "$nom"; ?>"></td>
</tr>
<tr>
<td>...</td>
<td>...</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Envoyer!"></td>
</tr>
</table>
</form>
<?php
$query = mysql_query("INSERT INTO parrain (id,parrain) VALUES ('$id','$parrain')");
$query = mysql_query("INSERT INTO $membre (id,pseudo,nom,prenom,spec,photoarticle,url,email,cat) VALUES ('$id','$pseudo','$nom','$prenom','$spec','$largefile','$url','$email','$cat')");
?> |
Partager