Page 1 of 1

I dont know what is wrong in this code

Posted: Sun Jun 24, 2007 12:44 am
by kqfernandez
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


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:

Code: Select all

<?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


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Sun Jun 24, 2007 4:43 am
by volka
Line 55
char 3084
Error Function expected
code 0
URL HTTP://192.127.225.184::7777/test/Index.phtml
That's not a php error message. There might be something wrong with your javascript.
What are the line 50 - 55 in your browser's source view?

Posted: Sun Jun 24, 2007 4:48 am
by Benjamin
This is the 3rd time you have posted this question. I have already answered it twice, and it has been moved to client side twice.