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

hi,

if you resubmit your code in the correct tags ill explain

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.
Thanks.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.