![]() |
|
| |||||||
| Notices |
| mySQL & PHP Discussions, information and help with mySQL and PHP. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
|
Okay... i have this HTML form: Code: <html> <body> <center> <FORM name="Join *BB* Form" method="POST" action="send.php"> <INPUT type="text" style="position:absolute;left:107px;top:6px;width:168px;z-index:39" size="21" name="NAME" value=""> <INPUT type="text" style="position:absolute;left:107px;top:35px;width:168px;z-index:40" size="21" name="ET" value=""> <DIV style="position:absolute;left:19px;top:6px;width:45px;height:16px;z-index:41" align="left"> <FONT style="font-size:13px" color="#000000" face="Arial">Name:</FONT> </DIV> <DIV style="position:absolute;left:19px;top:37px;width:77px;height:16px;z-index:42" align="left"> <FONT style="font-size:13px" color="#000000" face="Arial">Name in ET:</FONT> </DIV> <INPUT type="text" style="position:absolute;left:109px;top:67px;width:168px;z-index:43" size="21" name="AGE" value=""> <DIV style="position:absolute;left:20px;top:68px;width:33px;height:16px;z-index:44" align="left"> <FONT style="font-size:13px" color="#000000" face="Arial">Age:</FONT> </DIV> <DIV style="position:absolute;left:19px;top:129px;width:59px;height:16px;z-index:45" align="left"> <FONT style="font-size:13px" color="#000000" face="Arial">OId clan:</FONT> </DIV> <INPUT type="text" style="position:absolute;left:109px;top:128px;width:168px;z-index:46" size="21" name="OLDCLAN" value=""> <TEXTAREA name="WHYLEFT" style="position:absolute;left:107px;top:158px;width:174px;height:69px;z-index:47" rows=4 cols=19></TEXTAREA> <DIV style="position:absolute;left:18px;top:184px;width:83px;height:16px;z-index:48" align="left"> <FONT style="font-size:13px" color="#000000" face="Arial">Why you left:</FONT> </DIV> <TEXTAREA name="WHYJOIN" style="position:absolute;left:108px;top:241px;width:174px;height:69px;z-index:49" rows=4 cols=19></TEXTAREA> <DIV style="position:absolute;left:20px;top:262px;width:96px;height:32px;z-index:50" align="left"> <FONT style="font-size:13px" color="#000000" face="Arial">Why you want to join *BB*:</FONT> </DIV> <INPUT type="submit" name="" value="Send" style="position:absolute;left:206px;top:330px;width:75px;height:24px;z-index:51"> </FORM> </center> </body> </html> Code: <?
$mailbody = "$name $ETName $Age $OldClan $Whyleft $WhyWantJoin $mailsubj
$name $POST[NAME]
$ETName $POST[ET]
$Age $POST[AGE]
$OldClan $POST[OLDCLAN]
$Whyleft $POST[WHYLEFT]
$WhyWantJoin $POST[WHYJOIN]
$mailsubj New Player Who Wants Join *BB*";
echo $mailbody;
?> It have to show names and thingys... but it's wierd |
|
#2
| ||||
| ||||
|
What is it that you are trying to do? Mail this info to your e-mail? Simply display in a browser? Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |
|
#4
| ||||
| ||||
|
The form needs to do something. Do you want it sent to you in an e-mail? Simply displayed on the monitor? Or put into a data base. How do you want it to show? In what format. Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |
|
#6
| ||||
| ||||
|
You need to set the encoding type to multipart / form data"
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#7
| ||||
| ||||
|
well i tryed it like this: Code: <?php
$name = $_POST['NAME'];
$ETName = $_POST['ET'];
$Age = $_POST['AGE'];
$OldClan = $_POST['OLDCLAN'];
$Whyleft = $_POST['WHYLEFT'];
$WhyWantJoin = $_POST['WHYJOIN'];
$mailsubj = "New Player Who Wants Join *BB*";
$mailbody = array($name, $ETName, $Age, $OldClan, $Whyleft, $WhyWantJoin, $mailsubj);
foreach($mailbody as $mailbody){
echo $mailbody.'<br />';
}
?> |