
GrizzlyBear
Members-
Posts
23 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
GrizzlyBear's Achievements

Newbie (1/5)
0
Reputation
-
Thanks for your help hey..Perfect!
-
Hi could anyone perhaps help me out with being able to bcc someone from a form on a website. I can send to multiple address' but not sure how to send to one email, and bcc two others. Thanks. <?php $to = '[email protected] , [email protected]'; $email = $_POST['Email']; $name = $_POST['Name']; $telephone = $_POST['PhoneNumber']; $surname = $_POST['Surname']; $golfclub = $_POST['GolfClub']; $attending = $_POST['Radio1']; $day = $_POST['Radio2']; $number = $_POST['Number']; $message = <<<MESSAGE <html> <head> <title>Launch RSVP Form</title> </head> <body> <table style="font: Tahoma, Verdana, Arial, Helvetica, sans-serif" style="font-size:12px" border="0" cellspacing="3" align="center"> <tr> <td align="center" bgcolor="#91a93e" colspan="2"><strong>LAUNCH RSVP FORM</strong></td> </tr> <tr> <td bgcolor="#FFFFFF" colspan="2"></td> </tr> <tr> <td bgcolor="#91a93e" width="150">Name</td> <td bgcolor="#ADCE39" width="300">$name</td> </tr> <tr> <td bgcolor="#91a93e" width="150">Surname</td> <td bgcolor="#ADCE39" width="300">$surname</td> </tr> <tr> <td bgcolor="#91a93e" width="150">Telephone</td> <td bgcolor="#ADCE39" width="300">$telephone</td> </tr> <tr> <td bgcolor="#91a93e" width="150">Home Golf Club</td> <td bgcolor="#ADCE39" width="300">$golfclub</td> </tr> <tr> <td bgcolor="#91a93e" width="150">Attending</td> <td bgcolor="#ADCE39" width="300">$attending</td> </tr> <tr> <td bgcolor="#91a93e" width="150">Day Attending</td> <td bgcolor="#ADCE39" width="300">$day</td> </tr> <tr> <td bgcolor="#91a93e" width="150">Number Attending</td> <td bgcolor="#ADCE39" width="300">$number</td> </tr> </table> </body> </html> MESSAGE; $subject = 'The Bay Launch RSVP'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: ' . $email; mail($to, $subject, $message, $headers); header('Location: http://www.thebaygolf.co.za/'); ?>
-
Nope..no errors hey, It shows the image place holder, but just not the image.
-
Can anyone help me with this script to see if it is right..it seems to be, but its not working.
-
Thanks for the reply. I have tried out the script below and it still doesn't display the image, i'm not sure what i'm doing wrong. And Lemon, I orginally wanted to do that, but I'm new at learning php, and kinda had to settle for what works hey. I post a question on this forum already regarding that, but I have got useful replys. If you can suggest where I can maybe find an example, I will def give it a try. Thanks. This is the callingInfo2.php <?php mysql_connect("localhost","root",""); mysql_select_db("statinfo"); $image = stripslashes($_REQUEST[title]); $rs = mysql_query("SELECT * FROM tblusers where filename=\"".addslashes($image).".jpg\""); $row = mysql_fetch_assoc($rs); $imagedata = $row[imgdata]; header("Content-type: image/jpeg"); print $imagedata; ?> <?php include('connect.php'); $data = mysql_query("SELECT * FROM tblusers") or die(mysql_error()); Print "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\">"; while($info = mysql_fetch_assoc( $data )) { Print "<tr> <td width=\"20%\"><div align=\"right\">Firstname:</div></td> <td width=\"20%\"><div align=\"left\">".$info['firstname'] . "</div></td> <td width=\"20%\"><div align=\"right\">Company:</div></td> <td width=\"20%\"><div align=\"left\">".$info['organization'] . "</div></td> <td align=\"center\" rowspan=\"6\" width=\"120\">".$info['title'] . "<img src=\"callingInfo2.php\" width=144></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Lastname:</div></td> <td width=\"20%\"><div align=\"left\">".$info['lastname'] . "</div></td> <td width=\"20%\"><div align=\"right\">Address:</div></td> <td width=\"20%\"><div align=\"left\">".$info['address1'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Tel Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['phone'] . "</div></td> <td width=\"20%\"><div align=\"right\">City:</div></td> <td width=\"20%\"><div align=\"left\">".$info['city'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Cel Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['cell'] . "</div></td> <td width=\"20%\"><div align=\"right\">Province:</div></td> <td width=\"20%\"><div align=\"left\">".$info['province'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Fax Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['fax'] . "</div></td> <td width=\"20%\"><div align=\"right\">Country:</div></td> <td width=\"20%\"><div align=\"left\">".$info['country'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Email:</div></td> <td width=\"20%\"><div align=\"left\">".$info['email'] . "</div></td> <td width=\"20%\"><div align=\"right\">Age:</div></td> <td width=\"20%\"><div align=\"left\">".$info['age'] . "</div></td> </tr> <tr> <td colspan=\"5\"></br></br><hr width=\"70%\"></br></br></td> </tr>"; } Print "</table>"; ?>
-
Hey I need help being able to display an image which I have saved as a blob into my database. I have posted the script below where I have tried using the same method as text, but it displays incorrect and if anyone can help me out, it would be great. Thanks, Grizzly <?php include('connect.php'); $data = mysql_query("SELECT * FROM tblusers") or die(mysql_error()); Print "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\">"; while($info = mysql_fetch_assoc( $data )) { Print "<tr> <td width=\"20%\"><div align=\"right\">Firstname:</div></td> <td width=\"20%\"><div align=\"left\">".$info['firstname'] . "</div></td> <td width=\"20%\"><div align=\"right\">Company:</div></td> <td width=\"20%\"><div align=\"left\">".$info['organization'] . "</div></td> <td align=\"center\" rowspan=\"6\" width=\"120\">".$info['title'] . "<img src=".$info['imgdata'] . " width=144></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Lastname:</div></td> <td width=\"20%\"><div align=\"left\">".$info['lastname'] . "</div></td> <td width=\"20%\"><div align=\"right\">Address:</div></td> <td width=\"20%\"><div align=\"left\">".$info['address1'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Tel Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['phone'] . "</div></td> <td width=\"20%\"><div align=\"right\">City:</div></td> <td width=\"20%\"><div align=\"left\">".$info['city'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Cel Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['cell'] . "</div></td> <td width=\"20%\"><div align=\"right\">Province:</div></td> <td width=\"20%\"><div align=\"left\">".$info['province'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Fax Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['fax'] . "</div></td> <td width=\"20%\"><div align=\"right\">Country:</div></td> <td width=\"20%\"><div align=\"left\">".$info['country'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Email:</div></td> <td width=\"20%\"><div align=\"left\">".$info['email'] . "</div></td> <td width=\"20%\"><div align=\"right\">Age:</div></td> <td width=\"20%\"><div align=\"left\">".$info['age'] . "</div></td> </tr> <tr> <td colspan=\"5\"></br></br><hr width=\"70%\"></br></br></td> </tr>"; } Print "</table>"; ?>
-
Hey Secoxx I have Dreamweaver CS3 and I do use it to program hey..I will check it hey hey..thanks
-
Oh kewl... I have 5 seperate files that preform the whole task from browsing for the image to the webpage the image needs to be displayed in... Firstly connecting to the database.. called connect.php <?php mysql_connect("localhost", "root", "")or die("Cannot Connect to Server"); mysql_select_db('statinfo')or die("Cannot Select databse".mysql_error()); ?> User register page called registerUer.php <?php include('topHalf.php'); echo " <form action='register.php' method='post' name='register'> <table border='0%' width='100%' height='100%' cellspacing='5%' cellpadding='0%' class='blackText'>"; include('menu.php'); echo " <tr valign='bottom'> <td> <table border='0%' width='100%' height='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr valign='bottom'> <td width='40%'> <b> User's Login Details <hr> </b> </td> </tr> </table> </td> </tr> <tr> <td> <table border='0%' width='100%' height='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr valign='top'> <td align='right' width='40%'> Username: </td> <td> <sup>*</sup> <input type='text' name='username' size='31' class='greyText' maxlength='11'><br> <font class='greyText'><i>Maximum: 11 Charachters</i></font> </td> </tr> <tr> <td align='right' width='40%'> Password: </td> <td> <sup>*</sup> <input type='password' name='password' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Confirm Password: </td> <td> <sup>*</sup> <input type='password' name='repassword' size='31' class='greyText'> </td> </tr> </table> </td> </tr> <tr valign='bottom'> <td> <table border='0%' width='100%' height='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr valign='bottom'> <td width='40%'> <b> Contact Person's Details <hr> </b> </td> </tr> </table> </td> </tr> <tr> <td> <table border='0%' width='100%' height='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr valign='bottom'> <td align='right' width='40%'> First Name: </td> <td> <sup>*</sup> <input type='text' name='firstname' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Lastname: </td> <td> <sup>*</sup> <input type='text' name='lastname' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Age: </td> <td> <sup>*</sup> <input type='text' name='age' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Cell Phone: </td> <td> <sup>*</sup> <input type='text' name='cell' size='31' class='greyText' maxlength='17'><br> <font class='greyText'><i>This number will NOT be seen by viewers</i></font> </td> </tr> </table> </td> </tr> <tr valign='bottom'> <td> <table border='0%' width='100%' height='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr valign='bottom'> <td width='40%'> <b> Business Details <hr> </b> </td> </tr> </table> </td> </tr> <tr> <td> <table border='0%' width='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr valign='bottom'> <td align='right' width='40%'> Business Name: </td> <td> <sup>*</sup> <input type='text' name='organization' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Address (Line 1): </td> <td> <sup>*</sup> <input type='text' name='address1' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Address (Line 2): </td> <td> <input type='text' name='address2' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> City: </td> <td> <sup>*</sup> <input type='text' name='city' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Province: </td> <td> <sup>*</sup> <input type='text' name='province' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Country: </td> <td> <sup>*</sup> <input type='text' name='country' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Phone: </td> <td> <sup>*</sup> <input type='text' name='phone' size='31' class='greyText' maxlength='17'><br> <font class='greyText'><i>This number will be seen by viewers</i></font> </td> </tr> <tr> <td align='right' width='40%'> Fax Number: </td> <td> <input type='text' name='fax' size='31' class='greyText' maxlength='17'> </td> </tr> <tr> <td align='right' width='40%'> Website: </td> <td> <input type='text' name='website' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> eMail: </td> <td> <sup>*</sup> <input type='text' name='email' size='31' class='greyText'> </td> </tr> <tr> <td align='right' width='40%'> Picture: </td> <td> <sup>*</sup> <input type='file' name='picture' size='31' class='greyText'> </td> </tr> </table> <table border='0%' width='100%' cellspacing='5%' cellpadding='0%' class='blackText'> <tr> <td align='center' valign='top'> <div align='left'> <b>Description:</b> <p> </div> <input type='text' name='a' class='greyText' size='5' style='border:6px; text-align: right; background-color: #f0f0f0' readonly> Characters left <br> <textarea class='greyText' cols='80' rows='25' name='description' onkeydown=\"this.value = this.value.slice(0, 2000); window.document.register.a.value=2000-this.value.length;\"></textarea> </td> </tr> </table> </td> </tr> <tr> <td> <b>Search Listing details:</b> <hr> <b>Select area you want to be listed under:</b> <br> <table border='0%' width='100%' class='blackText'>"; include('connect.php'); $query = ("SELECT * FROM tblcategory"); $result = mysql_query($query) or die(mysql_error()); $num_results = mysql_num_rows($result); for($i=0;$i<$num_results; $i++) { $r = mysql_fetch_array($result); echo " <tr> <td align='left' width='20%'> <input type='radio' name='type' value='" . $r['id'] . "' class='greyText'> " . $r['category'] . " </td>"; $row_count++; $r = mysql_fetch_array($result); echo " <td align='left' width='20%'> <input type='radio' name='type' value='" . $r['id'] . "' class='greyText'> " . $r['category'] . " </td> </tr>"; $row_count++; $i++; } echo " </table> <table border='0%' width='100%' class='blackText'> <tr> <td align='left' width='20%'> <input type='radio' name='type' value='27' class='greyText'> Others Specify: <input type='text' name='otherValue' size='31' class='greyText'> </td> </tr> </table> <hr> <table border='0%' width='100%' class='blackText'> <tr> <td align='right' width='40%'> <br> <input type='checkbox' name='tac' size='31' class='greyText'> </td> <td> <br><p> I have read and agree with <a href='tac1.php' target='_blank'>Terms and Conditions</a>. </td> </tr> <tr> <td align='right' width='40%'> <br> <input type='submit' name='submit' value='Register' class='blackText' /> </td> <td> <br> <input type='reset' name='reset' value='Clear Form' class='blackText' /> </td> </tr> </table> </td> </tr> </table> </form>"; include('bottomHalf.php'); ?> The register action script called register.php <? ob_start(); if (($_POST['password']) != ($_POST['repassword'])) { header('location: passwordMisMatch.php'); } else { if( (empty ($_POST['firstname'])) || (strlen($_POST['username']) > 11) || (empty ($_POST['lastname'])) || (empty ($_POST['age'])) || (empty ($_POST['username'])) || (empty ($_POST['password'])) || (empty ($_POST['repassword'])) || (empty ($_POST['email'])) || (empty ($_POST['address1'])) || (empty ($_POST['city'])) || (empty ($_POST['province'])) || (empty ($_POST['country'])) || (empty ($_POST['cell'])) || (strlen($_POST['cell']) < 10) || (empty ($_POST['organization'])) || (empty ($_POST['tac'])) || (strlen($_POST['phone']) < 10) || (empty ($_POST['type'])) || (empty ($_POST['picture'])) ) { header('location: invalidData.php'); } else { $firstname = ucfirst($_POST['firstname']); $lastname = ucfirst($_POST['lastname']); $age = $_POST['age']; $username = $_POST['username']; $password = $_POST['password']; $organization = ucfirst($_POST['organization']); $email = $_POST['email']; $picture = $_POST['picture']; $address1 = $_POST['address1']; $address2 = $_POST['address2']; $city = $_POST['city']; $province = $_POST['province']; $country = $_POST['country']; $phone = $_POST['phone']; $cell = $_POST['cell']; $fax = $_POST['fax']; $website = $_POST['website']; $type = $_POST['type']; $otherValue = $_POST['otherValue']; $description = nl2br($_POST['description']); include('connect.php'); $query = "SELECT * FROM tblusers where username = '$username'"; $result = mysql_query($query) or die(mysql_error()); $num_results = mysql_num_rows($result); if ($num_results == 1) { include('topHalf.php'); echo " <table border='0%' width='100%' height='100%' cellspacing='0%' cellpadding='0%' align='center'>"; include('menu.php'); echo " <tr valign='top' height='90%'> <td align='center'> <font style='font-family:verdana,arial; color:red; text-decoration: blink; font-weight:bold'> ERROR </font> <p> <font class='blackText' style='font-weight:bold'> The user name: <font color='blue'>" . $username . "</font> is Taken<br> Kindly go back and choose another username. </font> </td> </tr> </table>"; include('bottomHalf.php'); } else { if($_POST) { $addUser = "insert into tblusers(id, username, password, firstname, lastname, age, admin, status, email, picture, address1, address2, city, province, country, phone, cell, fax, organization, website, type, other, description) values(0, '$username', '$password', '$firstname','$lastname', '$age', '0', '0', '$email', '$picture', '$address1', '$address2', '$city', '$province', '$country', '$phone', '$cell', '$fax', '$organization', '$website', '$type', '$otherValue', '$description')"; mysql_query($addUser) or die(mysql_error()); /* Getting data for page creation $query = "SELECT * FROM tblusers where username = '$username'"; $result = mysql_query($query) or die(mysql_error()); $num_results = mysql_num_rows($result); $row_count = 0; $row = mysql_fetch_array($result); $page = 'firms/' . $row['id'] . '.php'; require('createCompanyPage.php'); */ header('location: regSuccess.php'); } } } } ob_end_flush(); ?> The webpage that displays the information and the picture. called callingInfo.php <?php include('connect.php'); $data = mysql_query("SELECT * FROM tblusers") or die(mysql_error()); Print "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\">"; while($info = mysql_fetch_array( $data )) { Print "<tr> <td width=\"20%\"><div align=\"right\">Firstname:</div></td> <td width=\"20%\"><div align=\"left\">".$info['firstname'] . "</div></td> <td width=\"20%\"><div align=\"right\">Company:</div></td> <td width=\"20%\"><div align=\"left\">".$info['organization'] . "</div></td> <td rowspan=\"6\" width=\"120\"><IMG SRC=\"SecondType.php?id=$row->id\"></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Lastname:</div></td> <td width=\"20%\"><div align=\"left\">".$info['lastname'] . "</div></td> <td width=\"20%\"><div align=\"right\">Address:</div></td> <td width=\"20%\"><div align=\"left\">".$info['address1'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Tel Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['phone'] . "</div></td> <td width=\"20%\"><div align=\"right\">City:</div></td> <td width=\"20%\"><div align=\"left\">".$info['city'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Cel Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['cell'] . "</div></td> <td width=\"20%\"><div align=\"right\">Province:</div></td> <td width=\"20%\"><div align=\"left\">".$info['province'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Fax Number:</div></td> <td width=\"20%\"><div align=\"left\">".$info['fax'] . "</div></td> <td width=\"20%\"><div align=\"right\">Country:</div></td> <td width=\"20%\"><div align=\"left\">".$info['country'] . "</div></td> </tr> <tr> <td width=\"20%\"><div align=\"right\">Email:</div></td> <td width=\"20%\"><div align=\"left\">".$info['email'] . "</div></td> <td width=\"20%\"><div align=\"right\">Age:</div></td> <td width=\"20%\"><div align=\"left\">".$info['age'] . "</div></td> </tr> <tr> <td colspan=\"5\"></br></br><hr width=\"70%\"></br></br></td> </tr>"; } Print "</table>"; ?> And Finally the code that is supposed to call the image from the directory through the database called SecondType.php <?php include('connect.php'); $image = stripslashes($_REQUEST[picture]); $rs = mysql_query("select * from tblusers where filename=\"". addslashes($image).".jpg\""); $row = mysql_fetch_assoc($rs); $imagebytes = $row[picture]; header("Content-type: image/jpeg"); print $imagebytes; ?> Sorry about so much coding, but im not even sure if this script does what I want it to do as described above. Thanks Hey, Grizzly
-
Hey I was wondering if anyone is able to help me out. I have been trying to look for an image upload script on most sites on the internet, but i aven't come across a success script yet. Basically what I want is, I have a file field where a user will browse an image to upload, the file will then get upload to a directory, but also reflect on a database which holds all the contact information of the user. So there will be another row with the reference 'picture' for example. Then I wish to use this reference to call the image from the directory and display it onto a webpage along with all the users contact details. I have managed to upload the contact information and display it on a webpage, but the image is proving to be a major challange. Thanks, Grizzly
-
Hey Guys, thanks for the help hey, but unfortunately its still not working. If is put the command as: if($_GET != register) { it brings up the register page. Any idea will be much appreciated. Thanks
-
Hey Guys Im having a bit of trouble with the IF statement at the beginning of this script. For some reason, it jumps to the last else statement of the script. Thanks <?php if($_GET == register) { echo "<html> <head> <title>Register a Username</title> </head> <body> <center> <form action=\"index.php?page=registering\" method=\"post\"> <input type=\"text\" name=\"username\" value=\"type your name here\"></br> <input type=\"password\" name=\"pass1\" value=\"type your pass\"></br> <input type=\"submit\" value=\"register\"> </form> Lets check how it works!! </body> </html>"; } elseif($_GET == registering) { $username = "users/$_POST[username].php"; if(file_exists($username)) { echo "the username you chose already exists"; } else { $user=fopen("users/$_POST[username].php", "a"); fwrite($user, "<?php \$pass = '$_POST[pass]; ?>"); fclose($user); echo "you're registered, you can now login!"; } } elseif($_GET == login) { echo "<html> <head> <title>Login</title> </head> <body> <center> <form action=\"index.php?page=logging_in\" method=\"post\"> <input type=\"text\" name=\"username\" value=\"you're username here\"></br> <input type=\"pass\" name=\"pass\" value=\"you're pass here\"></br> <input type=\"submit\" value=\"login!\"> </form> Lets check how it works!! </body> </html>"; } elseif($_GET == logging_in) { $username = "users/$_POST[username].php"; if(file_exists($username)) { include($username); if($pass == $_POST['pass']) { echo "you're logged in!"; } else { echo "wrong password!"; } } else { echo "wrong username!"; } } else { echo " The page your are looking for does not exist"; } ?>
-
Hey I am very new at creating database websites, but i have two questions if someone could help me out: My first question is, how would you create a back end of a website, for example, I need to be able insert a username and password into a login box, and then the page that comes up after that will have text fields to fill in. Which leads me to my next question... How would i get these text fields to to show up on a webpage in my desired positions. Would these be easy to do, and could anyone perhaps refer me to a website that might explain all of this. I have tried to look for something, but was unsuccessful. Thanks
-
Thanks guys for your help, everything is all in order and working like a BOMB!!
-
Hey Ben i got this error msg: Warning: preg_match() [function.preg-match]: Empty regular expression in /usr/www/users/yellowf/sendmail1.php on line 52 Line 52: if (preg_match($pattern,$cellphone)) { return true; } Thanks Wolphie, so that means i can put the error messages within the form page? Is there such a command that i can put in that php script within the form page to go to sendmail.php to actually send the form mailer?
-
Thank YOU, thanks fantastic! I got another question, if i wanted my error messages to display on the form page instead of a new page, how would i do that? I wouldn't even know what search for to find that. So for example, my email error message would display Invalid next to the input box. Thanks again hey