Aide pour Espace membre PHP !!

Résolu/Fermé
desperadosse Messages postés 199 Date d'inscription mardi 15 avril 2008 Statut Membre Dernière intervention 26 avril 2011 - 4 mars 2009 à 15:51
desperadosse Messages postés 199 Date d'inscription mardi 15 avril 2008 Statut Membre Dernière intervention 26 avril 2011 - 4 mars 2009 à 17:56
Bonjour,
J'aimerai simplement qu'après l'inscription d'un membre son 'nom' apparaisse comme :

Bonjour David ==> par exemple ...

Je vous montre mon code, normalement ce code devrait marcher non ?

Code de la page d'inscription : (ce n'est que la partie formulaire)
<form action="<?php echo $editFormAction; ?>" name="form1" id="form1" method="POST">
		      <table width="500" border="0">
                <tr>
                  <td colspan="2"><div align="center">
                    <?php if (isset($HTTP_GET_VARS['FX_ReqValue'])) echo eregi_replace("<script","",$HTTP_GET_VARS['FX_ReqValue']); ?>
                  </div></td>
                </tr>
                <tr>
                  <td width="186" height="32"><div align="center">Nom * </div></td>
                  <td width="304"><input name="textfield" type="text" onblur="MM_validateForm('textfield','','R','Email','','RisEmail','textfield3','','R','code','','R');return document.MM_returnValue" size="50" /></td>
                </tr>
                <tr>
                  <td height="35"><div align="center">E-Mail*</div></td>
                  <td><input name="Email" type="text" id="Email" size="50" /></td>
                </tr>
                <tr>
                  <td height="41"><div align="center">Passe*</div></td>
                  <td><input name="textfield3" type="password" size="50" /></td>
                </tr>
                <tr>
                  <td height="35">&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
                <tr>
                  <td><?php dsp_crypt(0,1); ?>&nbsp;</td>
                  <td>Recopier le code:
				  
				  	<input type="text" name="code">
				  &nbsp;</td>
                </tr>
                <tr>
                  <td height="44">&nbsp;</td>
                  <td>
                    <div align="right">
                      <input type="submit" name="Submit2" value="Envoyer" />
                    </div></td>
                </tr>
                <tr>
                  <td colspan="2">&nbsp;</td>
                </tr>
              </table>
              
	 	      
 	          
 	          <input type="hidden" name="MM_insert" value="form1">
            </form>
		    <div id="footer">
		       
		<p><a href="http://validator.w3.org/">Valid CSS</a> :: <a href="http://validator.w3.org/">Valid XHTML</a>  Copyright &copy; 2007 by Desperadisse :: Designed by: <a href="http://www.getcsstemplates.com/business-website-template-53.html"title="business templates and layouts"><em>FREE BUSINESS WEBSITE TEMPLATES</em></a> </p> 	
			    
	     </div>
</div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		 
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
   
</body>
</html>
<?php
mysql_free_result($inscription);
?>


Voici la partie d'ou il me dit qu'il y a une erreur :

<!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" />
<title>Document sans titre</title>
</head>

<body>
<p>
  <?php
   echo "<a><font color='#009700'>=> Bravo, votre inscription s'est correctement déroulé !</font></a>" ;
?>
</p>
<p>Cliquez <a href="index.php">=>ici<=</a></p>
<p>ou attendez la redirection de 5 seconde  </p>
<p>&nbsp;</p>
<?php echo Bienvenue $_POST['nom']; ?>
</body>
</html>


Voila merci d'avance

PS: il me dit que ça c'est faux :

<?php echo Bienvenue $_POST['nom']; ?>


Merci a vous tous
A voir également:

4 réponses

Christounet Messages postés 1264 Date d'inscription mercredi 26 septembre 2007 Statut Membre Dernière intervention 29 juillet 2010 1 385
4 mars 2009 à 16:22
Bonjour,

Ton code devrait être le suivant
<?php echo "Bienvenue $_POST['nom']"; ?>


A plus
0
desperadosse Messages postés 199 Date d'inscription mardi 15 avril 2008 Statut Membre Dernière intervention 26 avril 2011 7
4 mars 2009 à 16:47
Merci
Mais malheureusement sa ne marche pas ... regarder l'erreur ... : >> http://cluster1.easy-hebergement.net/

Voila l'erreur ..
0
Harricote Messages postés 417 Date d'inscription mercredi 21 janvier 2009 Statut Membre Dernière intervention 30 janvier 2011 41
4 mars 2009 à 17:04
Bien sûr que ça ne marche pas !

Il faut que tu mettes ceci :
<?php echo "Bienvenue". $_POST['nom']; ?>

Voilà
0
desperadosse Messages postés 199 Date d'inscription mardi 15 avril 2008 Statut Membre Dernière intervention 26 avril 2011 7
4 mars 2009 à 17:56
Merci sa marche parfaitement ^^
0