# mySQL question

**URL:** <https://forum.kirupa.com/t/mysql-question/231440>\
**Category:** programming\
**Created:** [July 4, 2007, 8:45pm UTC](https://forum.kirupa.com/t/mysql-question/231440 "2007-07-04T20:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wo1olf](https://avatars.discourse-cdn.com/v4/letter/w/278dde/32.png) [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Post date:** [July 4, 2007, 8:45pm UTC](https://forum.kirupa.com/t/mysql-question/231440/1 "2007-07-04T20:45:18Z")

</div>

sorry for the title, but i have a form that iwan to display a message after the person clicked submit, but without quiting the page.  
here is my code, can u tell me what’s wrong ?

> 

\<?php  
if(isset($\_POST[‘Envoyer’]))  
{  
echo “NOM : “.$\_REQUEST[‘nom’].”\<br\>”;  
echo “COURRIEL : “.$\_REQUEST[‘courriel’].”\<br\>”;  
echo “SUJET : “.$\_REQUEST[‘sujet’].”\<br\>”;  
echo “MESSAGE : “.$\_REQUEST[‘message’].”\<br\>”;  
echo “Merci\<br\>”;  
}  
?\>

\<form method=“post” action=“\<?php echo $\_SERVER[‘PHP\_SELF’];?\>”\>  
\<table\>  
\<tr\>  
\<td\>Nom\</td\>  
\<td\>\<input type = “text”, name = “nom” id = “nom”\>\</td\>  
\</tr\>  
\<tr\>  
\<td\>Adresse courriel\</td\>  
\<td\>\<input type = “text”, name = “courriel” id = “courriel”\>\</td\>  
\</tr\>  
\<tr\>  
\<td\>Sujet\</td\>  
\<td\>\<input type = “text”, name = “sujet” id = “sujet”\>\</td\>  
\</tr\>  
\<tr\>  
\<td\>Message\</td\>  
\<td\>\<textarea rows = “10” cols = “30”, name =“message” id “message”\>\</textarea\>\</td\>  
\</tr\>  
\<tr\>  
\<td\>\<input type = “submit”, value = “Envoyer” name =“Envoyer”\</td\>  
\</tr\>  
\</table\>  
\<form\>
