Here is my error:
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\bookstore\main\sign_up.php on line 17
Here is the code:
<?php
session_start();
include('page_edit.php');
if(isset($_POST ['signup'])){
$fullname = $_POST['fname'];
$username = $_POST['uname'];
$email = $_POST['em'];
$country= $_POST['con'];
$password = $_POST['pw'];
$gender= $_POST['gender'];
$query = "INSERT INTO `bookstore`.`log_in` (`ID`, `fullname`, `email`, `country`,`Username`, `Password`,`gender`)";
mysql_query($query) or die(mysql_error());
header("location:index.php");
?>