•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,611 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,409 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 780 | Replies: 8
![]() |
•
•
Join Date: Nov 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi. I have extraordinarily limited knowledge of (in?) PHP. Anyway I was trying to fiddle with my website and I did something such that when I click on a menu item on my website I get this message:
Parse error: parse error, unexpected ':' in /home/mercurys/public_html/preview.php on line 46
Other than sit down, shut up, and hire an expert what advice can anyone give me on how to fix this problem asap?
Thanks in advance....
Parse error: parse error, unexpected ':' in /home/mercurys/public_html/preview.php on line 46
Other than sit down, shut up, and hire an expert what advice can anyone give me on how to fix this problem asap?
Thanks in advance....
•
•
Join Date: Nov 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
thanks, here it is. I appreciate your assistance.
<?include("inc/site_defenitions.inc");?>
<html>
<head>
<title>Florida Process Server Process Serving Service of Process</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="includes/global.css" rel="stylesheet" type="text/css">
</head>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2778641-2";
urchinTracker();
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><FONT face="times new roman,times,serif" size=4><STRONG>MercuryServe, Inc. - Tampa and St. Petersburg Florida</STRONG> <STRONG>Civil Process Server and Investigator.</STRONG> Tampa headquarters with offices in St. Petersburg offering local, regional, national and international reach.</FONT></TD></TR>
<TR>
<TD><FONT face="times new roman,times,serif" size=4><STRONG><IMG height=5 src="images/1x1.gif" width=5></STRONG></FONT></TD>
<TD vAlign=bottom><FONT face="times new roman,times,serif" size=4><STRONG><IMG height=5 src="images/1x1.gif" width=5></STRONG></FONT></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-COLLAPSE collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width="100%" background=images/img_blue.jpg border=0>
<TBODY>
<TR>
<TD><FONT face="times new roman,times,serif" size=4><STRONG> </STRONG></FONT></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-COLLAPSE collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top><FONT face="times new roman,times,serif" size=4><STRONG><IMG height=1 src="images/1x1.gif" width=1></STRONG></FONT></TD></TR>
<TR>
<TD vAlign=top bgColor=#eeeeee height=600>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="20%" bgColor=#000000 height=600>
<P><FONT face="times new roman,times,serif"><FONT size=4><STRONG><IMG height=72 src="images/menuHead.gif" width=160 border=0></STRONG></FONT></FONT></P>
<P> </P></TD>
<TD class=normal vAlign=top width="60%"><FONT face="times new roman,times,serif"><FONT size=4>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3> </FONT></o:p></P></FONT></FONT></TD>
<TD vAlign=top width="20%"><FONT face="times new roman,times,serif"><FONT size=4><STRONG></STRONG></FONT></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></body>
</html>
<?include("inc/site_defenitions.inc");?>
<html>
<head>
<title>Florida Process Server Process Serving Service of Process</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="includes/global.css" rel="stylesheet" type="text/css">
</head>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2778641-2";
urchinTracker();
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><FONT face="times new roman,times,serif" size=4><STRONG>MercuryServe, Inc. - Tampa and St. Petersburg Florida</STRONG> <STRONG>Civil Process Server and Investigator.</STRONG> Tampa headquarters with offices in St. Petersburg offering local, regional, national and international reach.</FONT></TD></TR>
<TR>
<TD><FONT face="times new roman,times,serif" size=4><STRONG><IMG height=5 src="images/1x1.gif" width=5></STRONG></FONT></TD>
<TD vAlign=bottom><FONT face="times new roman,times,serif" size=4><STRONG><IMG height=5 src="images/1x1.gif" width=5></STRONG></FONT></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-COLLAPSE collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width="100%" background=images/img_blue.jpg border=0>
<TBODY>
<TR>
<TD><FONT face="times new roman,times,serif" size=4><STRONG> </STRONG></FONT></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-COLLAPSE collapse" borderColor=#111111 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top><FONT face="times new roman,times,serif" size=4><STRONG><IMG height=1 src="images/1x1.gif" width=1></STRONG></FONT></TD></TR>
<TR>
<TD vAlign=top bgColor=#eeeeee height=600>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="20%" bgColor=#000000 height=600>
<P><FONT face="times new roman,times,serif"><FONT size=4><STRONG><IMG height=72 src="images/menuHead.gif" width=160 border=0></STRONG></FONT></FONT></P>
<P> </P></TD>
<TD class=normal vAlign=top width="60%"><FONT face="times new roman,times,serif"><FONT size=4>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3> </FONT></o:p></P></FONT></FONT></TD>
<TD vAlign=top width="20%"><FONT face="times new roman,times,serif"><FONT size=4><STRONG></STRONG></FONT></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></body>
</html>
•
•
Join Date: Nov 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Here is that defenitions file - I imagine the misspelling does not matter...
<? import_request_variables(gP);?>
<?include ("includes/dbconnection.php");?>
<?if($menuid=="" && $newsid=="" && $flag!=1)
include("includes/news.php");
else
include("includes/previewnews.php");
?>
<script language="javascript" src="includes/global.js"></script>
thanks.
Bert
<? import_request_variables(gP);?>
<?include ("includes/dbconnection.php");?>
<?if($menuid=="" && $newsid=="" && $flag!=1)
include("includes/news.php");
else
include("includes/previewnews.php");
?>
<script language="javascript" src="includes/global.js"></script>
thanks.
Bert
•
•
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 643
Reputation:
Rep Power: 3
Solved Threads: 72
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Parse error in code (PHP)
- Help. Parse error in PHP code (PHP)
- Parse error: parse error, unexpected '{' in /homepages/10/issue.php line 5 (PHP)
- Parse error: parse error, unexpected T_STRING on line 12 (PHP)
- PHP Parse error: parse error, unexpected T_STRING in F:\downloads\cats-0.6.1\index.ph (PHP)
- PHP parsing error, unexpected '<' (PHP)
- Please Help! parse error, unexpected T_STRING (PHP)
- Parse Error in PHP (PHP)
- PHP Parse error: parse error, unexpected T_STRING (PHP)
Other Threads in the PHP Forum
- Previous Thread: email validation
- Next Thread: Apache - Limiting upload speed


Linear Mode