954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Parse error: parse error, unexpected T_STRING on line 12

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 :)

<?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 &amp; 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>&nbsp;</td>      
<td valign="top">        
</td>    
</tr>  
</table>  
<p>&nbsp;</p></div>
</body></html>
coderando
Newbie Poster
6 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

Well...your line 12:

<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>

Is not right.

Try this instead:

<?PHP echo 'MiEncabezado("images/banner3.swf",$Xlenguaje)'; ?>

And to be honest, I didn't understand that code =/

Andy-Pandy
Newbie Poster
14 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?> <?PHPechoMiBarraLateral("promo.swf");?>    

<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?> <?PHPechoMiBarraLateral("promo.swf");?>    

coderando
Newbie Poster
6 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

" now the site bugs me on line 1...." In case anyone else has the same error. The code runs together with no spaces - put a space between PHP and include ... so did you get your dream vacation site with Joomla?

thriftgirl62
Light Poster
26 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You