can u rite code out coz i dnt get itQuote:
Originally Posted by Habbo-Mike2005
Printable View
can u rite code out coz i dnt get itQuote:
Originally Posted by Habbo-Mike2005
You should stop asking people to do stuff for you.
Go to www.Htmlgoodies.com and luck at the forms bit learn yourself.
I THINK THE PROBLEM WAS THAT U NEEDED TO MAKE JOBS.HTM TO JOBS.PHP
Right Anyways posted this,
.................................................. ............
contact.php
.................................................Quote:
<form id="form" name="contact" action="send.php" method="post">Habbo Name:
<input type="text" value="habbo" name="Habbo Name">
<br>Emal:
<input type="text" value="email" name="Email"> </form>
<form action="send.php" method="post">
<p><select name="Jobs">
<option value="dj" selected="selected">Dj</option>
<option value="mod">Moderator</option>
<option value="tvmaker">Tv Maker</option>
<option value="">flash</option>Flash Maker
<option value="game">Game Maker</option>
<option value="alt">Alteration Artist</option>
<option value="news">News Reporter</option>
<option value="php">Php Expert</option>
<option value="html">Html Expert</option></select> </p>
<div><textarea rows="10" cols="30" value="msg">Experiences Have You Got?
</textarea> </div>
<div> </div>
<p><textarea rows="10" cols="30" value="msg1">Why You Want The Job?
</textarea> </p>
<div>
<input type="button" value="Submit My Job Application!"> </div></form>
send.php
Quote:
<?php
if ($_SERVER['REQUEST_METHOD'] != 'GET'){
$habbo = $_POST['habbo'];
$email = $_POST['email'];
$jobs = $_POST['Jobs'];
$message = $_POST['msg'];
$message2 = $_POST['msg1'];
$messig = "
Habbo Name: $habbo
\n
Email Address: $email
\n
Job: $jobs
\n
Experience you have?: $message
\n
Why do you want the job?: $message2
";
$subject = $habbo;
mail("[email protected]", $subject, $messig);
header("Location: thanks.html");
}
else
{
echo 'ERROR';
}
?>