I have a problem, the div hirebottom, isn't showing up. Heres the code:
Code:<div id="content">
<div id="hiretop"></div>
<div id="hiremiddle"><div id="hiremiddletext">
<?php
//Clean function, comment out if not wanted.
function clean($string)
{
$string = htmlspecialchars($string, ENT_QUOTES);
if (get_magic_quotes_gpc())
{
$string = stripslashes($string);
}
$string = str_replace("\"", "", $string);
$string = htmlentities($string);
/**
* If you want SQL injection protection uncomment the next line
*/
// $string = mysql_real_escape_string($string);
return $string;
}
//The variables
$name = clean($_POST["name"]);
$job = clean($_POST["job"]);
$wwspy = clean($_POST["wwspy"]);
$aboutme = clean($_POST["aboutme"]);
$email = clean($_POST["email"]);
if ($_GET["action"] == "submit")
{
echo "Thank you for sending in your application! Here is what you sent in to us:<br>
Name: $name<br>
Preffered Job: $job<br>
Why we should pick you: $wwspy<br>
About me: $aboutme<br>
Email: $email<br>
<br>
For security purposes, we have logged you IP.<br>
<strong>IP:</strong> $_SERVER[REMOTE_ADDR]<br>";
exit;
}
echo "XXX
<br>
<br>
<form action=\"?action=submit\" method=\"post\">
<div id=\"title\">Name:</div>
<input type=\"text\" name=\"name\">
<div id=\"title\">Email:</div>
<input type=\"text\" name=\"email\">
<div id=\"title\">Preffered Job:</div>
<input type=\"text\" name=\"job\">
<div id=\"title\">Why:</div>
<style=\"width=\"169\"; height=\"116\"><textarea rows=\"7\" input type=\"text\" name=\"wwspy\" cols=\"28\"></textarea>
<div id=\"title\">About me:</div>
<style=\"width=\"169\"; height=\"116\"><textarea rows=\"7\" input type=\"text\" name=\"aboutme\" cols=\"28\"></textarea><br><br>
<div id=\"submit\"><input type=\"submit\" name=\"submit\" value=\"Submit\">
</form>";
exit;
?></div>
<div id="hirebottom"></div>
</div>
</div>
</div>
</div>

