Example #1
0
            <td>Localité : </td>
            <td><input type="text" name="localite" id="localite" /></td>
        </tr>

        <tr>
            <td>Mail : </td>
            <td><input type="text" name="mail" id="mail" /></td>
        </tr>


        <tr>
            <td colspan="2">
                <input type="submit" name="submit_inscription" id="submit_inscription" value="Inscription" />
                &nbsp;&nbsp;&nbsp;
                <input type="reset" id="reset" value="R&eacute;initialiser le formulaire" />
            </td>
        </tr>
    </table>



</form>

<?php 
if (isset($_GET['submit_inscription'])) {
    $mg->ajouterClient($_GET['choix_pays'], $_GET['login'], $_GET['mot_de_passe'], $_GET['nom'], $_GET['prenom'], $_GET['rue'], $_GET['numero'], $_GET['cp'], $_GET['localite'], $_GET['mail'], $_GET['sexe'], $_GET['age']);
}
?>