|
|
#1 |
|
New Member
![]() Join Date: Apr 2011
Posts: 1
|
Hi everyone. I am a relative newbie to PHP but I'm trying to create a members page for my website. I keep getting a parse error/syntax issue when I try and include files. I know my v. of PHP is up to date to use the include function and I cannot find any small problems like a semi-colon being missing. The code I'm using for the includes is this:
<?php - members.php // Include the configuration file. require_once('includes/config.inc.php'); // Include the header. include('includes/header.html'); ?> And you can see the error message and possibly all the files involved if you visit: forensicoutreach.com/memberstest.php |
|
|
|
|
|
#2 |
|
New Member
![]() Join Date: Apr 2011
Posts: 15
|
A parse error is usually punctuation or it can be a bad command. Go through and check your punctuation.
|
|
|
|
![]() |
| Tags |
| parse, php, syntax |
| Thread Tools | |
| Display Modes | |
|
|