Page 1 of 1

somebody help me with this code

Posted: Sun Jun 24, 2007 1:14 am
by kqfernandez
Hello: I'm a new member in this forum and with php too.
I have this code that I made, I don' know where is the error, when I open the web, I recieve an error message that says done but with errors. The webpage works, I need to clear the error message in the Ie buttom.
May be somebody can help me with this
Code:

<?php
include('datos.php');
if ($bodi==1){
?>
<HTML>
<HEAD>
<TITLE>#HTMLEditFormat(title)#</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet href="style.css" type="text/css">
<script language="JavaScript" src="roller.js">
</script>
</HEAD>
<body onLoad="MM_preloadImages('../images/inicio_over.gif', '../images/contac_over.gif')">
<?
}
?>
<div align="center">
<div align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#003063">
<tr bgcolor="#003366" align="center" valign="middle">
<td width="25%" height="100" background="../images/header_fondo.gif" bgcolor="#FFFFFF"><div align="left"><img src="../images/logo3.gif" width="162" height="100" align="middle">
</div></td>
<td width="50%" height="100" valign="bottom" bordercolor="#FFFFFF" background="../images/header_fondo.gif" bgcolor="#FFFFFF">
<h2 align="center"><font color="#FFFFFF"><? echo $title ?></font></h2> </td>
<td width="25%" height="100" valign="bottom" background="../images/header_fondo.gif" bgcolor="#FFFFFF">
<div align="center">
<h1>
<h2><font color="#FFFFFF"><? echo $hnombre ?></font>
<!---<img src="../images/diners.gif" align="left">--->
</h2>
</h2>
</div> </td>
</tr>
</table>
</div>
</div>
<?php
switch($show_buttons){
case 1 :
?>
<p align="center">
<a href="Index.phtml" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','../images/inicio_over.gif',1)"><img name="Image15" src="../images/inicio.gif" alt="Haga click aquí para dirigirse a la página inicial" border="0"></a>
</p>
<?php
break;
case 13 :
?>
<p align="center">
<a href="Index.phtml" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/inicio_over.gif',1)"><img name="Image8" src="../images/inicio.gif" alt="Haga click aquí para dirigirse a la página inicial" border="0"></a>
<a href="Feedback.phtml" target=_top onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','../images/contac_over.gif',1)"><img name="Image10" src="../images/contac.gif" alt="Envíe sus comentarios o preguntas al Centro de Monitoreo de NCR" border="0"></a>
</p>
<?php
break;
default :
break;
}
if($bodi==1){
?>
</body>
</html>
<?
}
?>


Here, the error

Line 55
char 3084
Error Function expected
code 0
URL HTTP://192.127.225.184::7777/test/Index.phtml

Thanks in advance

Posted: Sun Jun 24, 2007 1:17 am
by John Cartwright
Why did you create a new thread?

Topic locked.