I am trying to insert records into MySQL database using PHP. Initially, the records were inserted into the database. After sometimes, it stopped inserting. There are no error messages displayed.
PHP code:
<?php
require('dbconnect.php');
if( isset($_POST['submit'] ) ){
$fullname=$_POST['fullname'];
$type=$_POST['type'];
$price=$_POST['price'];
$mmnumber=$_POST['mmnumber'];
mysqli_query( $connect,"INSERT INTO `tickets`(fullname,type,price,mmnumber) VALUES('".$fullname."','".$type."','".$price."','".$mmnumber."')");
}
?>