•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 429,971 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 2,554 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: 1873 | Replies: 2
![]() |
•
•
Join Date: Feb 2007
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Hello, I keep getting no matter what I do the same error from file index.php
Parse error: parse error, unexpected T_STRING in /home/httpd/vhosts/carpediemmexico.com/httpdocs/index.php on line 12
This is my error file, I am sure your eyes will find the solution. Thanks... You are the best
Parse error: parse error, unexpected T_STRING in /home/httpd/vhosts/carpediemmexico.com/httpdocs/index.php on line 12
This is my error file, I am sure your eyes will find the solution. Thanks... You are the best
php Syntax (Toggle Plain Text)
<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?> <html> <head> <meta name="verify-v1" content="cDSGGB1ThRv+I2K3Q/417+mq7u2TBgqjx3uEQOKYIvk=" /> <title>Carpediem Vacationing - Cozumel Information & Reservation O-u-t-l-e-t.</title> <meta http-equiv="Content-Type" content="text/html;"><!-- Fireworks MX Dreamweaver MX target. Created Thu Jun 02 11:09:33 GMT-0500 (Hora de verano de México) 2005--> <?PHPecho MisScripts($Xlenguaje)$;?> <link href="textos" rel="stylesheet" type="text/css"> </head> <body bgcolor="#fcf6de" leftmargin="0" topmargin="0"><div align="center"> <?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img name="carpediem_r3_c1" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td> <td valign="top"> <?PHP echo MiBarraLateral('promo.swf'); ?> </td> </tr> <tr> <td> </td> <td valign="top"> </td> </tr> </table> <p> </p></div> </body></html>
Last edited by stymiee : Mar 6th, 2007 at 1:46 pm.
•
•
Join Date: Feb 2007
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Thanks Andy-Pandy
You made me change my mind completely.... This code was built by a coder at XalapaVeracruzMexico. I paid him what I did not have to build a dream that have been crossing my head for a long time. I want to build an INTERACTIVE USER EVALUATED directory site for travelers coming to CozumelMexico. I wanted and still want to make this dream happen but no longer using PHP... My change of choice goes now into Joomla.... I am not a programmer myself and Joomla give the independency I need.
Now I should bring this site back to its feet’s for his new transition.
I made some changes using your advices... now the site bugs me on line 1.... I hope this will be the last question to you; and if I ever get to make some money out of this traveler’s site, I want you to know it will be a placer for me to invite you over this CaribbeanIsland to share my joy.
This is how the code looks now:
<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?>
<html>
<head>
<meta name="verify-v1" content="cDSGGB1ThRv+I2K3Q/417+mq7u2TBgqjx3uEQOKYIvk="/>
<title>Carpediem Vacationing - Cozumel Information & Reservation O-u-t-l-e-t.</title>
<meta http-equiv="Content-Type" content="text/html;"><!-- Fireworks MX Dreamweaver MX target. Created Thu Jun 02 11:09:33 GMT-0500 (Hora de verano de México) 2005-->
<?PHPechoMisScripts('Xlenguaje');?>
<link href="textos" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#fcf6de" leftmargin="0" topmargin="0">
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img name="carpediem_r3_c1_2" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
</tr>
</table>
<p> </p>
</div>
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr> <td><img name="carpediem_r3_c1" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr> <td> </td>
<td valign="top">
</td>
</tr>
</table>
<p> </p></div>
</body>
</html>
<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?>
<html>
<head>
<meta name="verify-v1" content="cDSGGB1ThRv+I2K3Q/417+mq7u2TBgqjx3uEQOKYIvk="/>
<title>Carpediem Vacationing - Cozumel Information & Reservation O-u-t-l-e-t.</title>
<meta http-equiv="Content-Type" content="text/html;"><!-- Fireworks MX Dreamweaver MX target. Created Thu Jun 02 11:09:33 GMT-0500 (Hora de verano de México) 2005-->
<?PHPechoMisScripts('Xlenguaje');?>
<link href="textos" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#fcf6de" leftmargin="0" topmargin="0">
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img name="carpediem_r3_c1_2" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
</tr>
</table>
<p> </p>
</div>
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr> <td><img name="carpediem_r3_c1" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr> <td> </td>
<td valign="top">
</td>
</tr>
</table>
<p> </p></div>
</body>
</html>
You made me change my mind completely.... This code was built by a coder at XalapaVeracruzMexico. I paid him what I did not have to build a dream that have been crossing my head for a long time. I want to build an INTERACTIVE USER EVALUATED directory site for travelers coming to CozumelMexico. I wanted and still want to make this dream happen but no longer using PHP... My change of choice goes now into Joomla.... I am not a programmer myself and Joomla give the independency I need.
Now I should bring this site back to its feet’s for his new transition.
I made some changes using your advices... now the site bugs me on line 1.... I hope this will be the last question to you; and if I ever get to make some money out of this traveler’s site, I want you to know it will be a placer for me to invite you over this CaribbeanIsland to share my joy.
This is how the code looks now:
<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?>
<html>
<head>
<meta name="verify-v1" content="cDSGGB1ThRv+I2K3Q/417+mq7u2TBgqjx3uEQOKYIvk="/>
<title>Carpediem Vacationing - Cozumel Information & Reservation O-u-t-l-e-t.</title>
<meta http-equiv="Content-Type" content="text/html;"><!-- Fireworks MX Dreamweaver MX target. Created Thu Jun 02 11:09:33 GMT-0500 (Hora de verano de México) 2005-->
<?PHPechoMisScripts('Xlenguaje');?>
<link href="textos" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#fcf6de" leftmargin="0" topmargin="0">
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img name="carpediem_r3_c1_2" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
</tr>
</table>
<p> </p>
</div>
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr> <td><img name="carpediem_r3_c1" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr> <td> </td>
<td valign="top">
</td>
</tr>
</table>
<p> </p></div>
</body>
</html>
<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?>
<html>
<head>
<meta name="verify-v1" content="cDSGGB1ThRv+I2K3Q/417+mq7u2TBgqjx3uEQOKYIvk="/>
<title>Carpediem Vacationing - Cozumel Information & Reservation O-u-t-l-e-t.</title>
<meta http-equiv="Content-Type" content="text/html;"><!-- Fireworks MX Dreamweaver MX target. Created Thu Jun 02 11:09:33 GMT-0500 (Hora de verano de México) 2005-->
<?PHPechoMisScripts('Xlenguaje');?>
<link href="textos" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#fcf6de" leftmargin="0" topmargin="0">
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img name="carpediem_r3_c1_2" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
</tr>
</table>
<p> </p>
</div>
<div align="center">
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr> <td><img name="carpediem_r3_c1" src="images/carpediem_r3_c1.jpg" width="610" height="339" border="0" alt=""></td>
<td valign="top">
<?PHPechoMiBarraLateral("promo.swf");?>
</td>
</tr>
<tr> <td> </td>
<td valign="top">
</td>
</tr>
</table>
<p> </p></div>
</body>
</html>
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- parse error, unexpected T_STRING in (PHP)
- PHP Parse error: parse error, unexpected T_STRING in F:\downloads\cats-0.6.1\index.ph (PHP)
- Please Help! parse error, unexpected T_STRING (PHP)
- Parse error: parse error, unexpected T_STRING (PHP)
- PHP Parse error: parse error, unexpected T_STRING (PHP)
- Parse error: parse error, unexpected T_STRING in /home/thei2k9/public_html/includes/f (PHP)
- Need Help With Parse Error... (PHP)
Other Threads in the PHP Forum
- Previous Thread: NEW PDF File creation issue using PHP
- Next Thread: time spent by visitor(time difference)


Linear Mode