Rename this page to insert.php and then delete this line ' . mysql_error()); } echo '
'; echo "Accessing database.."; echo '
'; echo '
'; echo "1 record added"; mysql_close($con) ?>