Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Parse error: syntax error, unexpected T_REQUIRE
Old 06-28-2009, 07:30 PM   #1
link2philly
Calendar User
 
link2philly is offline
Join Date: Jun 2009
Posts: 5
Question Parse error: syntax error, unexpected T_REQUIRE

I am getting an error when viewing the php page made that is supposed to display the calendar.

The error is:

Parse error: syntax error, unexpected T_REQUIRE in /hsphere/local/home/tripblit/link2philly.com/ziggy3.php on line 5


<?php
echo "<html>\n";
echo "<head>\n";
echo "<title>Link2Philly.com - Always Free! Always Philly!</title>\n";
$CSS="1;" require("calendar/calendar.php");
echo "</head>\n";
echo "<body bgcolor=\"#000000\" text=\"#FFFFFF\" link=\"#FFFFFF\" vlink=\"#FFFFFF\" alink=\"#FFFFFF\">\n";
$OL="1;" require("calendar/calendar.php");
echo "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"8%\"></td>\n";
echo " <td width=\"83%\" bgcolor=\"#000000\"><table border=\"0\" width=\"100%\" cellspacing=\"0\"\n";
echo " cellpadding=\"0\" height=\"360\">\n";
echo " <tr>\n";
echo " <td width=\"100%\" height=\"237\"><table border=\"0\" width=\"62%\" cellspacing=\"0\"\n";
echo " cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"100%\" colspan=\"2\"><table border=\"0\" width=\"100%\" cellspacing=\"0\"\n";
echo " cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"25%\"><p align=\"left\"><a href=\"index.html\"><img\n";
echo " src=\"images/link2phillyblack.jpg\" border=\"0\" WIDTH=\"186\" HEIGHT=\"72\"></a></td>\n";
echo " <td width=\"25%\"><embed pluginspage=\"http://www.adobe.com/go/getflashplayer\"\n";
echo " src=\"http://www.yourminis.com/Dir/GetCont...mini:Lider\"\n";
echo " wmode=\"transparent\" width=\"250\" height=\"80\"\n";
echo " </table>\n";
echo " <p align=\"left\">&nbsp;</td>\n";
echo " <td width=\"75%\" valign=\"top\"><p align=\"center\"><a href=\"http://www.tripblitz.com\"\n";
echo " target=\"_blank\"><img src=\"images/tripblitzad.jpg\" border=\"0\" WIDTH=\"468\" HEIGHT=\"60\"></a></p>\n";
echo " <p align=\"center\">";
require("calendar/calendar.php");
echo " </p>\n";
echo " <p width=\"100%\" align=\"center\"><br />\n";
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"100%\" height=\"1\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"100%\" height=\"32\"><p align=\"center\"><a href=\"aboutus.html\"><img\n";
 

Old 06-28-2009, 09:53 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Ok, you really went crazy on the PHP... You did not need to echo all of the HTML.

And your error on line 5 is because of the "1;"... it should be "1";
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Tags
parse error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse Error kerry General Support 1 09-22-2008 07:48 PM
Parse error: parse error, unexpected T_STRING, kerry General Support 10 01-07-2008 05:01 PM
Parse Error kk7x General Support 3 05-28-2007 05:28 PM
Parse error kpitzer General Support 3 02-10-2006 01:07 PM
Parse error in /escal/admin/index.php louder General Support 1 11-10-2004 08:18 PM



All times are GMT -4. The time now is 06:48 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |