Jump to content

Recommended Posts

There is no such limit.

 

You would need to be way more specific about what problem you are having and the code you are using.

ok well i have a simple php form submit code but when it submits to the mysql database it stops a mail and mail ond on donot submit to the database

 

here is my code

 

if($_POST['submit']{
	$comname = $_POST['comname'];
	$fname = $_POST['fname'];
	$lname = $_POST['lname'];
	$phone = $_POST['phone'];
	$email  = $_post['email'];
	$add = $_post['add'];
	$city = $_post['city'];
	$state = $_post['state'];
	$zip = $_post['zip'];
	$stuf = $_post['stuf'];

	$conn = @mysql_connect("localhost","user","pass") or die('Error: ' . mysql_error());
	$sql = "INSERT INTO `database`.`table` (`ID`, `comname`, `fname`, `lname`, `phone`, `email`, `add`, `city`, `state`, `zip`, `stuf`)VALUES (NULL, '$comname', '$fname', '$lname', '$phone ', '$email', '$add', '$city', '$state', '$zip', '$stuf');";
	mysql_query($sql) or die('Error: ' . mysql_error());
	echo "Info submited: ".$comname." ".$fname." ".$lname." ".$phone." ".$email." ".$add." ".$city." ".$state." ".$zip." ".$stuf.
	mysql_close();

else{
	die("fourm was not filled out right");
}
}
?>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.