graham23s Posted March 16, 2008 Share Posted March 16, 2008 Hi Guys, on this registration page i am coding wehn i goto the join.php page it automatically goes startight to the "you have successfully registered part of the code" for example: join.php <?php if(isset($_POST['submit'])) { // general vars // $maximum_filesize = 3145728; // vars POST // $username = mysql_real_escape_string($_POST['username']); $pass_1 = mysql_real_escape_string(trim($_POST['pass_1'])); $pass_2 = mysql_real_escape_string(trim($_POST['pass_2'])); $email_1 = mysql_real_escape_string(trim($_POST['email_1'])); $email_2 = mysql_real_escape_string(trim($_POST['email_2'])); $gender = mysql_real_escape_string($_POST['gender']); $birth_month = mysql_real_escape_string($_POST['birth_month']); $birth_day = mysql_real_escape_string($_POST['birth_day']); $birth_year = mysql_real_escape_string($_POST['birth_year']); $country = mysql_real_escape_string($_POST['country']); $state_county = mysql_real_escape_string($_POST['state_county']); $city = mysql_real_escape_string($_POST['city']); $zip_post_code = mysql_real_escape_string($_POST['code']); $smoke = mysql_real_escape_string($_POST['smoke']); $drink = mysql_real_escape_string($_POST['drink']); $height = mysql_real_escape_string($_POST['height']); $weight = mysql_real_escape_string($_POST['weight']); $eyes = mysql_real_escape_string($_POST['eyes']); $hair = mysql_real_escape_string($_POST['hair']); $children = mysql_real_escape_string($_POST['children']); $marital_status = mysql_real_escape_string($_POST['marital_status']); $seeking_gender = mysql_real_escape_string($_POST['seeking_gender']); $profession = mysql_real_escape_string($_POST['profession']); $interests = mysql_real_escape_string($_POST['interests']); $description = mysql_real_escape_string($_POST['description']); // some vars for the image // $image_file_name = $_FILES['image']['name']; $image_file_size = $_FILES['image']['size']; $image_file_temp = $_FILES['image']['tmp_name']; $image_file_type = $_FILES['image']['type']; // error checking // if(empty($username)) { standard_error("Error","You never entered a username."); } if(empty($pass_1)) { standard_error("Error","You never entered a password."); } if(empty($pass_2)) { standard_error("Error","You never confirmed your password."); } if(empty($email_1)) { standard_error("Error","You never entered an e-mail address."); } if(empty($email_2)) { standard_error("Error","You never confirmed your e-mail address."); } if(empty($zip_post_code)) { standard_error("Error","You never entered your zip/post code."); } if($image_file_size > $maximum_filesize) { standard_error("Error","Your uploaded image is bigger than <b>3mb</b> please upload another."); } if($image_file_type != 'image/jpeg' || $image_file_type != 'image/pjpeg' || $image_file_type != 'image/gif' || $image_file_type != 'image/png') { standard_error("Error","Your uploaded image is not one of these allowed file-types only <b>.jpg</b>/<b>.gif</b> and <b>.png</b> are allowed."); } // ========================================= // // some working for the image //$renamed_image = $username // ========================================= // } else { // if there is no errors then insertion // $q_insertion = "INSERT INTO `cmd_users` (`id`, `username`, `password`, `email`, `gender`, `birth_month`, `birth_day`, `birth_year`, `country`, `state_county`, `city`, `zip_post_code`, `smoke`, `drink`, `height`, `weight`, `eye_color`, `hair_color`, `children`, `marital_status`, `seeking_gender`, `profession`, `interests`, `description`, `image`, `image_thumb`, `registered`) VALUES ('', '$username', '$pass_1', '$email_1', '$gender', '$birth_month', '$birth_day', '$birth_year', '$country', '$state_county', '$city', '$zip_post_code', '$smoke', '$drink', '$height', '$weight', '$eyes', '$hair', '$children', '$marital_status', '$seeking_gender', '$profession', '$interests', '$description', '$image_fullsize', '$image_thumbnail', now())"; $r_insertion = mysql_query($q_insertion); // print success and send the e-mail // if($r_insertion) { standard_error("Success","You have been successfully registered. we have sent an e-mail to <b>$email_1</b> with your login details."); // send the e-mail // } else { standard_error("Error","There was an error inserting your details please contact the site admins."); } } // end isset // ?> <?php include("inc/inc_arrays.php"); ?> <?php print("<form action='join.php' method='POST' name='join_form' enctype='multipart/form-data'>"); print("<table class='form_table' cellpadding='5' cellspacing='0' >\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Join Up</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Your Profile Details</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Username:</b></label></td><td class='form_style' align='left'><input type='text' name='username' class='textfield' size='40'> <span class='star'>*</span> Required.</td>"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Password:</b></label></td><td class='form_style' align='left'><input type='password' name='pass_1' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Confirm Password:</b></label></td><td class='form_style' align='left'><input type='password' name='pass_2' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>E-Mail:</b></label></td><td class='form_style' align='left'><input type='text' name='email_1' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Confirm E-Mail:</b></label></td><td class='form_style' align='left'><input type='text' name='email_2' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Gender:</b></label></td><td class='form_style' align='left'>\n"); print("<select name='gender'>"); foreach($gender_array as $key => $gender_value) { print("<option value='$key'>$gender_value</option>"); } print("</select>"); print("</td>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Birthdate:</b></label></td><td class='form_style' align='left'>\n"); print("<select name='birth_month'>\n"); foreach($birth_month as $key => $birth_month_value) { print("<option value='$key'>$birth_month_value</option>\n"); } print("</select>\n"); print("<select name='birth_day'>\n"); for($i = 1; $i <= 31; $i++) { print("<option value='$i'>$i</option>\n"); } print("</select>\n"); print("<select name='birth_year'>\n"); for($year = 1930; $year <= 2008; $year++) { print("<option value='$year'>$year</option>\n"); } print("</select>\n"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Country:</b></label></td><td class='form_style' align='left'>\n"); print("<select name='country'>\n"); foreach($countries_list as $key => $country_value) { print("<option value='$key'>$country_value</option>\n"); } print("</select>\n"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>State / County:</b></label></td><td class='form_style' align='left'><input type='text' name='state_county' class='textfield' size='40'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>City:</b></label></td><td class='form_style' align='left'><input type='text' name='city' class='textfield' size='40'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Zip / Post Code:</b></label></td><td class='form_style' align='left'><input type='text' name='code' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Your Personal Details</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Do You Smoke?</b></label></td><td class='form_style' align='left'>"); print("<select name='smoke'>"); foreach($smoking_array as $key => $smoking_value) { print("<option value='$key'>$smoking_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Do You Drink?</b></label></td><td class='form_style' align='left'>"); print("<select name='drink'>"); foreach($drinking_array as $key => $drinking_value) { print("<option value='$key'>$drinking_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Height?</b></label></td><td class='form_style' align='left'>"); print("<select name='height'>"); foreach($height_array as $key => $height_value) { print("<option value='$key'>$height_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Weight?</b></label></td><td class='form_style' align='left'>"); print("<select name='weight'>"); foreach($weight_array as $key => $weight_value) { print("<option value='$key'>$weight_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Eye Colour?</b></label></td><td class='form_style' align='left'>"); print("<select name='eyes'>"); foreach($eyes_array as $key => $eyes_value) { print("<option value='$key'>$eyes_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Hair Colour?</b></label></td><td class='form_style' align='left'>"); print("<select name='hair'>"); foreach($hair_array as $key => $hair_value) { print("<option value='$key'>$hair_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Do You Have Children?</b></label></td><td class='form_style' align='left'>"); print("<select name='children'>"); foreach($children_array as $key => $children_value) { print("<option value='$key'>$children_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Marital Status?</b></label></td><td class='form_style' align='left'>"); print("<select name='marital_status'>"); foreach($marital_status_array as $key => $marital_status_value) { print("<option value='$key'>$marital_status_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>I'm Looking For A</b></label></td><td class='form_style' align='left'>"); print("<select name='seeking_gender'>"); foreach($seeking_gender_array as $key => $seeking_gender_value) { print("<option value='$key'>$seeking_gender_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Profession:</b></label></td><td class='form_style' align='left'><input type='text' name='profession' class='textfield' size='40'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Your Interests</h1>(Optional, you can fill this in later.)</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><textarea name='interests' class='textfield' rows='20' cols='80'></textarea></td><td class='form_style' align='left' valign='top'><div id='tip'>Tell everyone all about your interests and hobbies.</div></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Describe Yourself</h1>(Optional, you can fill this in later.)</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><textarea name='description' class='textfield' rows='20' cols='80'></textarea></td><td class='form_style' align='left' valign='top'><div id='tip'>Please include as much information as possible about yourself, you will recieve far more messages.</div></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Upload An Image Of Yourself</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Main Profile Image:</b></label></td><td class='form_style' align='left'><input type='file' name='image' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Enter The CAPTCHA Numbers:</b></label></td><td class='form_style' align='left'><img src='captcha.php'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='right'><input type='submit' name='submit' value='Join Up!' /></td>\n"); print("</tr>\n"); print("</table>\n"); print("</form>"); ?> when i view this page this part: standard_error("Success","You have been successfully registered. we have sent an e-mail to <b>$email_1</b> with your login details."); is executed straight away, it was working earlier i can only assume its an if else error is there anything i have done wrong or accidentally deleted? cheers Graham Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted March 16, 2008 Share Posted March 16, 2008 Your logic was messed up. Your going to have to do something like this: <?php if(isset($_POST['submit'])) { // general vars // $maximum_filesize = 3145728; // vars POST // $username = mysql_real_escape_string($_POST['username']); $pass_1 = mysql_real_escape_string(trim($_POST['pass_1'])); $pass_2 = mysql_real_escape_string(trim($_POST['pass_2'])); $email_1 = mysql_real_escape_string(trim($_POST['email_1'])); $email_2 = mysql_real_escape_string(trim($_POST['email_2'])); $gender = mysql_real_escape_string($_POST['gender']); $birth_month = mysql_real_escape_string($_POST['birth_month']); $birth_day = mysql_real_escape_string($_POST['birth_day']); $birth_year = mysql_real_escape_string($_POST['birth_year']); $country = mysql_real_escape_string($_POST['country']); $state_county = mysql_real_escape_string($_POST['state_county']); $city = mysql_real_escape_string($_POST['city']); $zip_post_code = mysql_real_escape_string($_POST['code']); $smoke = mysql_real_escape_string($_POST['smoke']); $drink = mysql_real_escape_string($_POST['drink']); $height = mysql_real_escape_string($_POST['height']); $weight = mysql_real_escape_string($_POST['weight']); $eyes = mysql_real_escape_string($_POST['eyes']); $hair = mysql_real_escape_string($_POST['hair']); $children = mysql_real_escape_string($_POST['children']); $marital_status = mysql_real_escape_string($_POST['marital_status']); $seeking_gender = mysql_real_escape_string($_POST['seeking_gender']); $profession = mysql_real_escape_string($_POST['profession']); $interests = mysql_real_escape_string($_POST['interests']); $description = mysql_real_escape_string($_POST['description']); // some vars for the image // $image_file_name = $_FILES['image']['name']; $image_file_size = $_FILES['image']['size']; $image_file_temp = $_FILES['image']['tmp_name']; $image_file_type = $_FILES['image']['type']; // error checking // if(empty($username)) { standard_error("Error","You never entered a username."); $error = TRUE; } if(empty($pass_1)) { standard_error("Error","You never entered a password."); $error = TRUE; } if(empty($pass_2)) { standard_error("Error","You never confirmed your password."); $error = TRUE; } if(empty($email_1)) { standard_error("Error","You never entered an e-mail address."); $error = TRUE; } if(empty($email_2)) { standard_error("Error","You never confirmed your e-mail address."); $error = TRUE; } if(empty($zip_post_code)) { standard_error("Error","You never entered your zip/post code."); $error = TRUE; } if($image_file_size > $maximum_filesize) { standard_error("Error","Your uploaded image is bigger than <b>3mb</b> please upload another."); $error = TRUE; } if($image_file_type != 'image/jpeg' || $image_file_type != 'image/pjpeg' || $image_file_type != 'image/gif' || $image_file_type != 'image/png') { standard_error("Error","Your uploaded image is not one of these allowed file-types only <b>.jpg</b>/<b>.gif</b> and <b>.png</b> are allowed."); $error = TRUE; } if (!isset($error)){ // ========================================= // // some working for the image //$renamed_image = $username // ========================================= // // if there is no errors then insertion // $q_insertion = "INSERT INTO `cmd_users` (`id`, `username`, `password`, `email`, `gender`, `birth_month`, `birth_day`, `birth_year`, `country`, `state_county`, `city`, `zip_post_code`, `smoke`, `drink`, `height`, `weight`, `eye_color`, `hair_color`, `children`, `marital_status`, `seeking_gender`, `profession`, `interests`, `description`, `image`, `image_thumb`, `registered`) VALUES ('', '$username', '$pass_1', '$email_1', '$gender', '$birth_month', '$birth_day', '$birth_year', '$country', '$state_county', '$city', '$zip_post_code', '$smoke', '$drink', '$height', '$weight', '$eyes', '$hair', '$children', '$marital_status', '$seeking_gender', '$profession', '$interests', '$description', '$image_fullsize', '$image_thumbnail', now())"; $r_insertion = mysql_query($q_insertion); // print success and send the e-mail // if($r_insertion) { standard_error("Success","You have been successfully registered. we have sent an e-mail to <b>$email_1</b> with your login details."); // send the e-mail // } else { standard_error("Error","There was an error inserting your details please contact the site admins."); } } // end isset // ?> <?php include("inc/inc_arrays.php"); ?> <?php print("<form action='join.php' method='POST' name='join_form' enctype='multipart/form-data'>"); print("<table class='form_table' cellpadding='5' cellspacing='0' >\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Join Up</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Your Profile Details</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Username:</b></label></td><td class='form_style' align='left'><input type='text' name='username' class='textfield' size='40'> <span class='star'>*</span> Required.</td>"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Password:</b></label></td><td class='form_style' align='left'><input type='password' name='pass_1' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Confirm Password:</b></label></td><td class='form_style' align='left'><input type='password' name='pass_2' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>E-Mail:</b></label></td><td class='form_style' align='left'><input type='text' name='email_1' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Confirm E-Mail:</b></label></td><td class='form_style' align='left'><input type='text' name='email_2' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Gender:</b></label></td><td class='form_style' align='left'>\n"); print("<select name='gender'>"); foreach($gender_array as $key => $gender_value) { print("<option value='$key'>$gender_value</option>"); } print("</select>"); print("</td>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Birthdate:</b></label></td><td class='form_style' align='left'>\n"); print("<select name='birth_month'>\n"); foreach($birth_month as $key => $birth_month_value) { print("<option value='$key'>$birth_month_value</option>\n"); } print("</select>\n"); print("<select name='birth_day'>\n"); for($i = 1; $i <= 31; $i++) { print("<option value='$i'>$i</option>\n"); } print("</select>\n"); print("<select name='birth_year'>\n"); for($year = 1930; $year <= 2008; $year++) { print("<option value='$year'>$year</option>\n"); } print("</select>\n"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Country:</b></label></td><td class='form_style' align='left'>\n"); print("<select name='country'>\n"); foreach($countries_list as $key => $country_value) { print("<option value='$key'>$country_value</option>\n"); } print("</select>\n"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>State / County:</b></label></td><td class='form_style' align='left'><input type='text' name='state_county' class='textfield' size='40'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>City:</b></label></td><td class='form_style' align='left'><input type='text' name='city' class='textfield' size='40'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Zip / Post Code:</b></label></td><td class='form_style' align='left'><input type='text' name='code' class='textfield' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Your Personal Details</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Do You Smoke?</b></label></td><td class='form_style' align='left'>"); print("<select name='smoke'>"); foreach($smoking_array as $key => $smoking_value) { print("<option value='$key'>$smoking_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Do You Drink?</b></label></td><td class='form_style' align='left'>"); print("<select name='drink'>"); foreach($drinking_array as $key => $drinking_value) { print("<option value='$key'>$drinking_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Height?</b></label></td><td class='form_style' align='left'>"); print("<select name='height'>"); foreach($height_array as $key => $height_value) { print("<option value='$key'>$height_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Weight?</b></label></td><td class='form_style' align='left'>"); print("<select name='weight'>"); foreach($weight_array as $key => $weight_value) { print("<option value='$key'>$weight_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Eye Colour?</b></label></td><td class='form_style' align='left'>"); print("<select name='eyes'>"); foreach($eyes_array as $key => $eyes_value) { print("<option value='$key'>$eyes_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Hair Colour?</b></label></td><td class='form_style' align='left'>"); print("<select name='hair'>"); foreach($hair_array as $key => $hair_value) { print("<option value='$key'>$hair_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Do You Have Children?</b></label></td><td class='form_style' align='left'>"); print("<select name='children'>"); foreach($children_array as $key => $children_value) { print("<option value='$key'>$children_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Your Marital Status?</b></label></td><td class='form_style' align='left'>"); print("<select name='marital_status'>"); foreach($marital_status_array as $key => $marital_status_value) { print("<option value='$key'>$marital_status_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>I'm Looking For A</b></label></td><td class='form_style' align='left'>"); print("<select name='seeking_gender'>"); foreach($seeking_gender_array as $key => $seeking_gender_value) { print("<option value='$key'>$seeking_gender_value</option>\n"); } print("</select>"); print("</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Profession:</b></label></td><td class='form_style' align='left'><input type='text' name='profession' class='textfield' size='40'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Your Interests</h1>(Optional, you can fill this in later.)</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><textarea name='interests' class='textfield' rows='20' cols='80'></textarea></td><td class='form_style' align='left' valign='top'><div id='tip'>Tell everyone all about your interests and hobbies.</div></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Describe Yourself</h1>(Optional, you can fill this in later.)</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><textarea name='description' class='textfield' rows='20' cols='80'></textarea></td><td class='form_style' align='left' valign='top'><div id='tip'>Please include as much information as possible about yourself, you will recieve far more messages.</div></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='left'><h1>Upload An Image Of Yourself</h1></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Main Profile Image:</b></label></td><td class='form_style' align='left'><input type='file' name='image' size='40'> <span class='star'>*</span> Required.</td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td class='form_style' align='left'><label><b>Enter The CAPTCHA Numbers:</b></label></td><td class='form_style' align='left'><img src='captcha.php'></td>\n"); print("</tr>\n"); print("<tr>\n"); print("<td colspan='2' align='right'><input type='submit' name='submit' value='Join Up!' /></td>\n"); print("</tr>\n"); print("</table>\n"); print("</form>"); ?> Quote Link to comment Share on other sites More sharing options...
graham23s Posted March 16, 2008 Author Share Posted March 16, 2008 Thanks P! i'm sorted. Graham Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.