MySQL disconnected
Can you replace your thankstudent.php with this one.
<?php
require_once('connect_login.php');
$title = $_POST['title'];
$description = $_POST['description'];
$std_name = $_POST['std_name'];
$total_pages = $_POST['total_pages'];
$sql = "INSERT INTO `text`.`developer` (`id` ,`title` ,`description` ,`year` ,`std_name` ,`total pages` )VALUES ('', '$title', '$description', '', '$std_name', '$total_pages');";
echo $sql;
echo "<br>";
mysql_query($sql) or die(mysql_error());
echo "Done";
?>
Fill your form and submit.
Am interested with the output from the web browser after you submit the form.
Finally, if you can, send me the schema for the database table ;
Do the following
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6 to server version: 4.0.24-nt-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> DESCRIBE text.developer;
|