Espace membre > Quelques problèmes < Merci de m'aider
Dernière réponse : dans Programmation
Salut à tous, j'ai un petit problème avec mon espace membre, alors voilà.
Voici les fichiers qui se trouvent sur mon FTP :
- index.php
- login.php
- verif.php
- config.php
- inscription.php (c'est ici le problème)
- form_inscript.php
- confirm.php
mon ftp
J'ai créer une base de données et j'ai donc aussi créer une table nommée "membre". j'ai mis 6 champ dans cette table :
- id
- nom
- prenom
- email
- pseudo
- mot de passe
Voici le code SQL :
Voici ma BDD (Base de données)
>> Par contre, je ne sais pas quoi mettre dans les champ "fonction" et "valeur"
C'est ici << cliquer <<
Quand je vais sur mon site web, je vais dans la page inscription et là un message d'erreur apparaît :
Voici l'adresse de mon site web : Cliquer ici
Et voici le code source de ma page "inscription.php"
l'image du code source
Je remercis d'avance celui qui résoudra mon problème !
Salutations
Voici les fichiers qui se trouvent sur mon FTP :
- index.php
- login.php
- verif.php
- config.php
- inscription.php (c'est ici le problème)
- form_inscript.php
- confirm.php
mon ftp
J'ai créer une base de données et j'ai donc aussi créer une table nommée "membre". j'ai mis 6 champ dans cette table :
- id
- nom
- prenom
- pseudo
- mot de passe
Voici le code SQL :
CREATE TABLE `membre` ( `id` SMALLINT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `nom` TEXT NOT NULL, `prenom` TEXT NOT NULL, `email` TEXT NOT NULL, `pseudo` TEXT NOT NULL, `mot de passe` TEXT NOT NULL ) TYPE = MYISAM;
Voici ma BDD (Base de données)
>> Par contre, je ne sais pas quoi mettre dans les champ "fonction" et "valeur"
C'est ici << cliquer <<
Quand je vais sur mon site web, je vais dans la page inscription et là un message d'erreur apparaît :
Parse error: parse error in /data/members/free/multimania/fr/p/s/p/pspsettings/htdocs/inscription.php on line 12
Voici l'adresse de mon site web : Cliquer ici
Et voici le code source de ma page "inscription.php"
<HTML> <HEAD> <?php // On include le fichier config.php include("config.php"); // On vérifie si tout les champs du formulaire on bien été rempli ! if($send =="ADD") { if(empty($pseudo) or (empty($passe)) // Si un champ est vide, on envoi un message d'erreur echo("Un champ est vide"); } else // Sinon on passe { // Maintenant, on vas vérifier si un membre a déjà ce pseudo $requete = mysql_query("select pseudo from membres where pseudo=\"$pseudo\""); // Nombre d'enregistrements $nb = mysql_numrows($requete); // si il y a plus de 0 enregistrement avec le meme pseudo, on affiche un message d'erreur if($nb>0) { echo("Désolé ce pseudo est déja utilisé par un autre membre"); } else // sinon on passe { // maintenant on vas inserer les informations dans la table "membres" mysql_query("insert into membre values(\"\",\"$pseudo\",\"$passe\")"); // Puis, on affiche le message de confirmation echo("Inscription ok"); } } } // On ferme la connection à la base de donnée mysql_close(); ?> <style type="text/css"> <!-- .Style6 {color: #FF0000} .Style7 {color: #FF8040} .Style8 {color: #0080FF} .Style9 {color: #8000FF} .Style10 {color: #35E31C; } .Style13 { font-weight: bold; color: #0080FF; font-style: italic; } --> </style> <BODY BACKGROUND="<a href="http://pix.nofrag.com/44/4b/45b0be9271ea21d1ecf1bac91674.jpg" target="_blank">http://pix.nofrag.com/44/4b/45b0be9271ea21d1ecf1bac9167...</a>"> <TITLE>PspSettings - Inscription -</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <meta name="design" content="kitgratos.net"> <style type="text/css"> <!-- .Style1 {color: #0080FF} .Style2 {color: #FF0000} .Style3 { color: #FF8040; font-weight: bold; } .Style4 { color: #80FF00; font-weight: bold; } .Style5 { color: #0000FF; font-weight: bold; } .Style6 { color: #8000FF; font-weight: bold; } --> </style> </HEAD> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <p align="center"><!-- ImageReady Slices (kit.psd) --><TABLE WIDTH=777 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD ROWSPAN=3> <IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_01.jpg" WIDTH=250 HEIGHT=104 ALT=""></TD> <TD ROWSPAN=3> <IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_02.jpg" WIDTH=37 HEIGHT=104 ALT=""></TD> <TD> <IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_03.jpg" WIDTH=468 HEIGHT=33 ALT=""></TD> <TD ROWSPAN=3> <IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_04.jpg" WIDTH=22 HEIGHT=104 ALT=""></TD> </TR> <TR> <TD height="60" bgcolor="#A1A5AE"> </TD> </TR> <TR> <TD> <IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_06.jpg" WIDTH=468 HEIGHT=11 ALT=""></TD> </TR> <TR> <TD COLSPAN=4> <IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_07.jpg" WIDTH=777 HEIGHT=32 ALT=""></TD> </TR> <TR> <TD COLSPAN=4 height="37" background="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_08.jpg"> <table align="center" cellpadding="0" cellspacing="0"> <tr> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center"><a href="<a href="http://pspsettings.ifrance.com/index.php" target="_blank">http://pspsettings.ifrance.com/index.php</a>">Accueil</a></p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center">Forum</p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center">Chat</p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center">Livre d'or </p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:none;"> <p align="center"><a href="mailto:pspsettings@ifrance.com">Contact</a></p> </td> </tr> </table> </TD> </TR> <TR> <TD COLSPAN=4> <font color="#56596D"><IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_09.jpg" WIDTH=777 HEIGHT=8 ALT=""></font></TD> </TR> <TR> <TD COLSPAN=4> <table cellpadding="0" cellspacing="0" width="774" align="center"> <tr> <td width="183" style="border-right-width:1; border-right-color:rgb(130,134,146); border-right-style:dashed;"> <table align="center" cellpadding="0" cellspacing="0"> <tr> <td width="172" height="255" style="border-bottom-width:1; border-bottom-color:rgb(130,134,146); border-bottom-style:dashed;"> <p><span class="Style2 Style6">Espace PSP</span> <img src="<a href="http://pix.nofrag.com/98/3d/729ab038d7cad3e441114f30ff6b.jpg" target="_blank">http://pix.nofrag.com/98/3d/729ab038d7cad3e441114f30ff6...</a>"> <a href="<a href="http://pspsettings.ifrance.com/index.php" target="_blank">http://pspsettings.ifrance.com/index.php</a>"><img src="<a href="http://img197.imageshack.us/img197/3848/boutonpspnews6qc.jpg" target="_blank">http://img197.imageshack.us/img197/3848/boutonpspnews6q...</a>"></a> <img src="<a href="http://img197.imageshack.us/img197/8598/boutonpspdossiers3tc.jpg" target="_blank">http://img197.imageshack.us/img197/8598/boutonpspdossie...</a>"> <img src="<a href="http://img503.imageshack.us/img503/9372/boutonpsptlchargements5vu.jpg" target="_blank">http://img503.imageshack.us/img503/9372/boutonpsptlchar...</a>"> <img src="<a href="http://img303.imageshack.us/img303/5924/boutonpsptestspreviews6cb.jpg" target="_blank">http://img303.imageshack.us/img303/5924/boutonpsptestsp...</a>"></p> </td> </tr> <tr> <td width="172"> <p align="left"><span style="font-size:9pt;"><font face="Tahoma"><span class="Style2 Style6">Espace PS3</span></font><font face="Tahoma" color="#56596D"><font face="Tahoma" color="#56596D"><font face="Tahoma" color="#56596D"><font face="Tahoma" color="#56596D"><font face="Tahoma" color="#56596D"><font face="Tahoma" color="#56596D"><img src="<a href="http://img403.imageshack.us/img403/879/ps37cl.gif" target="_blank">http://img403.imageshack.us/img403/879/ps37cl.gif</a>"></font></font></font></font></font><img src="<a href="http://img422.imageshack.us/img422/6475/boutonps3news3xn.jpg" target="_blank">http://img422.imageshack.us/img422/6475/boutonps3news3x...</a>"> <img src="<a href="http://img505.imageshack.us/img505/6281/boutonps3dossiers9ev.jpg" target="_blank">http://img505.imageshack.us/img505/6281/boutonps3dossie...</a>"> <img src="<a href="http://img505.imageshack.us/img505/228/boutonps3tlchargements4dp.jpg" target="_blank">http://img505.imageshack.us/img505/228/boutonps3tlcharg...</a>"><br> <br> </font></span></p> </td> </tr> <tr> <td width="172"> <p><font color="#56596D"> </font></p> </td> </tr> </table> </td> <td width="14"> <p><font color="#56596D"> </font></p> </td> <td width="576"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <tt><span class="Style13"><img src="<a href="http://www.yatoula.com/gif/webmaster/webmaster_246.gif" target="_blank">http://www.yatoula.com/gif/webmaster/webmaster_246.gif</a>">Si vous n'avez pas de comptes c'est ici que vous le creer, Merci et Bon Surf ! </span></tt> <div align="center"> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; font-weight: bold; } body { background-color: #FFFFFF; } a { font-size: 12px; color: #333333; font-weight: bold; font-style: italic; } a:link { text-decoration: underline; } a:visited { text-decoration: underline; color: #333333; } a:hover { text-decoration: none; color: #333333; } a:active { text-decoration: underline; color: #333333; } --> </style> </div> <p align="center"> </p> <p align="center"> </p> <form name="inscription" method="post" action="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/form_inscript.php"> <div align="center"> <table width="200" border="0" align="center"> <tr> <td><div align="center" class="Style2 Style1 Style6"> - Inscription - </div></td> </tr> </table> <table width="400" border="0" align="center"> <tr> <td><div align="center" class="Style2 Style6"><strong>Nom : </strong></div></td> <td align="right"><input name="nom" type="text" id="nom"></td> </tr> <tr> <td><div align="center" class="Style3 Style7">Prénom : </div></td> <td align="right"><input name="prenom" type="text" id="prenom"></td> </tr> <tr> <td><div align="center" class="Style4 Style8">Email : </div></td> <td align="right"><input name="email" type="text" id="email"></td> </tr> <tr> <td><div align="center" class="Style5 Style9">Pseudo : </div></td> <td align="right"><input name="pseudo" type="text" id="pseudo"></td> </tr> <tr> <td><div align="center" class="Style10">Mot de passe : </div></td> <td align="right"><input name="pass" type="password" id="pass"></td> </tr> </table> <table width="300" border="0" align="center"> <tr> <td> <div align="center"> <input type="reset" name="Submit2" value="Effacer"> <a href="confirm.php"><input type="submit" name="Submit" value="Envoyer"></a> </div></td> </tr> </table> </div> </form></td> </tr> </table> </TD> </TR> <TR> <TD COLSPAN=4> <font color="#56596D"><IMG SRC="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_11.jpg" WIDTH=777 HEIGHT=8 ALT=""></font></TD> </TR> <TR> <TD COLSPAN=4 height="37" background="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_12.jpg"> <table align="center" cellpadding="0" cellspacing="0"> <tr> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center"><a href="mailto:pspsettings@ifrance.com">Contact</a></p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center">Forum</p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center">Chat</p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> <p align="center">Livre d'or </p> </td> <td width="87" style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:none;"> <p align="center">L'équipe</p> </td> </tr> <tr> <td style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> </td> <td style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> </td> <td style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> </td> <td style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:solid;"> </td> <td style="border-right-width:1; border-right-color:rgb(254,252,237); border-right-style:none;"> </td> </tr> </table> </TD> </TR> <TR> <TD COLSPAN=4 height="26" background="file:///C|/Documents and Settings/liuzzo/Bureau/kit31/images/index_13.jpg"> <p align="center"><FONT face="Tahoma,Helvetica" color="white"><span style="font-size:8pt;">Copyright © 2006 Pspsettings Tous droits Réservés</span></FONT></p> </TD> </TR> </TABLE> <!-- End ImageReady Slices --> </BODY> </HTML>
l'image du code source
Je remercis d'avance celui qui résoudra mon problème !
Salutations
Autres pages sur : espace membre problemes merci aider
Lassé par la pub ? Créez un compte
Non l'erreur n'est pas corrigé.
Voici le message d'erreur :
Voici mon code source :
Cliquer ici
Je ne vois pas où est mon erreur.
Merci de m'aider
Voici le message d'erreur :
Parse error: parse error in /data/members/free/multimania/fr/p/s/p/pspsettings/htdocs/inscription.php on line 11
Voici mon code source :
Cliquer ici
Je ne vois pas où est mon erreur.
Merci de m'aider
Lassé par la pub ? Créez un compte
- Contenus similaires :
- ForumProbleme d'instalation du jeu "kart n'crazy" merci de m'aider.
- ForumGROS PROBLEME DE VIRUS A ENLEVER QUI PEUT M'AIDER ????? MERCI
- SolutionsJe voudrais desinstaller 7 zip je ne l utilise pas merci de m aider.
- ForumProblème exécution automatique , merci de m'aider
- ForumProblème de connexion bluetooth, merci de m'aider :)
- ForumSolution pour blog avec espace membre ?
- ForumPb php/mysql espace membre avec session
- ForumBonjour, Merci de m'aider a debloquer un tel
- Solutionsbjr j ai un nokia 3410 imei 350889801098601 bloquer orange merci de m aider merci a tous
- Voir plus