You are here: newbies, text box problem « All PHP « IT news, forums, messages
newbies, text box problem

Posted by Laura25 on 11/25/06 16:11

Hi,

I am a newbies in PHP.

I have this problem, I can't receive the information that someone write in
the : TEXT AREA (box) <textarea rows="6" cols="35" wrap="physical"
name="SubmissionInfo"></textarea></td>.
I can however get all the other information.

Thank you very much in advance for your help.

L


html
_________________________________________________

<form method="POST" action="actions/mail_submission2.php">
<table width="733" border="0" cellspacing="0" cellpadding="0"
id="table38" height="112">
<tr>
<td width="138" align="center" rowspan="2"
valign="top">

<p align="left">

<label for="submissionName"><span class="txt_maintxt">Nom complet
:</span></label><br />
<input name="submissionName" type="text"
class="box_home" id="nom_complet" size="25" /><br />

<label for="submissionEmail"><span class="txt_maintxt">Courriel
:</span></label><br />
<input name="submissionEmail" type="text"
class="box_home" id="Courriel" size="30" />

<label for="submissionPhone"><span
class="txt_maintxt">T&eacute;l&eacute;phone :</span></label><br />
<input name="submissionPhone" type="text"
class="box_home" id="telephone" size="15" /></td>

<td width="327" align="center" rowspan="2"
class="txt_maintxt">Votre message - Dtail<br>

<textarea rows="6" cols="35" wrap="physical"
name="SubmissionInfo"></textarea></td>

<td width="200" align="center">
<p align="left">
<span class="txt_maintxt">Nom du moniteur :<br></span></label>
<input name="submissionInstruct" type="text"
class="box_home" id="moniteur" size="30" /><br>

<label for="submissionDest"><span class="txt_maintxt">Nom de la
station :</span></label><br />
<input name="submissionDest" type="text"
class="box_home" id="station" size="30" />
</td>
<td width="14" rowspan="2">&nbsp;</td>
<td valign="middle" width="39" rowspan="2"><label>
<input type="submit" name="Submit1" value="GO"
/>
</label></td>
</tr>
<tr>
<td width="200" align="center" height="40"
valign="top"><br />

<select name="submissionCategory"
id="categories" size="1" style="padding:0; border:1px solid #999999; ">
<option>Choisir la catgorie ...</option>
<option value="Cours de ski -
Laurentides">Cours de ski - Laurentides, Qc </option>
<option value="Cours de ski - Val
Thorens">Cours de ski - Val Thorens, Fr </option>
<option value="Cours de snowboard - Val
Thorens">Cours snowboard - Val Thorens
</option>
<option value="Ski hors piste">Ski hors piste
</option>
<option value="Comptition">Entranement -
Comptition </option>
</select>
</td>
</tr>
</table></form>
__________________________________________________________


PHP

___________________________________________________________

// MailTo

$receiverEmail = "#################";

$rootWeb = "######################";



// Q.1

$submissionName = $_POST["submissionName"];

$submissionEmail = $_POST["submissionEmail"];

$submissionPhone = $_POST["submissionPhone"];

$submissionInfo = $_POST["submissionInfo"];

$submissionDest = $_POST["submissionDest"];

$submissionCategory = $_POST["submissionCategory"];

$submissionInstruct = $_POST["submissionInstruct"];




$message = "Skipro Canada :: Soumission2

--------------------------------------------------------------

Nom : $submissionName

Couriel : $submissionEmail

Tlphone : $submissionPhone

Info : $submissionInfo

Destination : $submissionDest

Category : $submissionCategory

Instructor : $submissionInstruct


-----------------------------------------------------------

";



mail( $receiverEmail, "Skipro Canada :: Soumission", $message, "From:
webForm@#############\n" );



header( 'Location: ' . $rootWeb . $_POST["currentLanguage"] .
'reponse-1.html' );

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация