I have been trying to create a .php page to catch information from a form and insert it into our local database. Normally I am able to catch the parse errors but this one points straight to the end of my code:
<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php include("includes/header.php"); ?> <?php $ln=$_POST['Last Name']; $fn=$_POST['First Name']; $mi=$_POST['Middle Initial']; $ad=$_POST['Address']; $ci=$_POST['City']; $query = "INSERT INTO player VALUES ('','$ln','$fn','$mi','$ad','$ci'); mysql_query($query); mysql_close(); ?> <----bad line 18
I am pretty sure the require once and include .php pages are correct as we have been using them without problems for a few months. Any ideas as to why the parser would point to line 18?