Web Design Forum  
 
Go Back   Web Design Forum > Web Software > Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 04-01-2011, 01:57 PM   #1
New Member
 
Join Date: Apr 2011
Posts: 1
Exclamation Parse Error but no detectable problem?

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
march11 is offline   Reply With Quote


Old 04-15-2011, 06:45 PM   #2
New Member
 
Join Date: Apr 2011
Posts: 15
Default

A parse error is usually punctuation or it can be a bad command. Go through and check your punctuation.
locpicker is offline   Reply With Quote
Reply

Tags
parse, php, syntax

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:12 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.