Hello Guys,

Here is the code that i have which works fine as it puts data to my database, but am not sure where or how to put it so then after the form has been completed i get an email to say that some one has completed the form and check your account.

if ($resp->is_valid) { 
										$sql = "INSERT INTO $db_table(ItemNumber) values ('".mysql_real_escape_string(stripslashes($_REQUEST['ItemNumber']))."')"; 
										if($result = mysql_query($sql ,$db)) { 
										echo '<script type="text/javascript">';
										echo 'window.location = "http://www.domain.co.uk/thankyou.html"';
										echo '</script>';
																			} else { 
																				echo "ERROR: ".mysql_error(); 
														} else {
										# set the error code so that we can display it. You could also use
										# die ("reCAPTCHA failed"), but using the error message is
										# more user friendly
										$error = $resp->error;

Thank you

7 Years
Discussion Span
Last Post by whiteyoh

NEED Image Upload code with all information. I want to create a database that can store my information with image and that i can view.
Now i need a code that can store all information with image and i can see image with all information.
Please give me the right solutions.


thats not your question. your question is about sending an email. your code should not be in php tags, but code tags

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.