Quantcast
Channel: Últimos conteúdos
Viewing all articles
Browse latest Browse all 14190

Erro no php Parse error:

$
0
0

os seguinte erro esta mostrando em meu codigo ja verifiquei o que poderia ser mas nao encontrei o error:

Parse error: syntax error, unexpected $end in /home/infotec/public_html/chat_2/main.php on line 52

 

segue codigo

<?php if(session_id() == ''){

session_start(); 
include("infosys.php");
include("dc/$lang.php");
include("conn.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head> 
<title>
<? echo $dc_19; ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src='js/jquery.js' type='text/javascript'></script>
<style>
body{margin:0px;background:skyblue;}
</style>
</head>
<body>
<div style='float:left;width:700px;background:skyblue;font-family:arial;height:450px'>
<?php
 
if(isset($_GET["sk"]))
{
$sk=$_GET["sk"];
if($sk =="home"){
include("home.php");
}
elseif($sk =="enter"){
include("enter.php");
}
elseif($sk =="chat"){
include("chat.php");
}
elseif($sk =="login"){
include("login.php");
}
elseif($sk =="loging"){
include("loging.php");
}
elseif($sk =="panel"){
include("panel.php");
}
}
else{
include("home.php");
}
 
?>
</div>
</body>
</html>

 


Viewing all articles
Browse latest Browse all 14190