Tema: Error en PHP
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 24/09/2008, 07:54
Avatar de Marvin
Marvin
Colaborador
 
Fecha de Ingreso: febrero-2005
Ubicación: global $Chile->Santiago;
Mensajes: 1.991
Antigüedad: 19 años, 3 meses
Puntos: 81
Respuesta: Error en PHP

Prueba con esto:
Código PHP:
<table border="0" cellpadding="0" cellspacing="0">
<tr>
    <td valign="top" >
        <iframe name="iframetag" marginwidth="0" marginheight="0" src="<?php echo $smiletagURL?>view.php" width="160" height="300" frameborder="0" class="smiletagFrame">
            Your Browser must support IFRAME to view
            this page correctly
        </iframe>
    </td>
</tr>
<tr>
    <td>
<? 
if($my->username <> ""){
    echo 
'
        <form name="smiletagform" method="post" action="'
.$smiletagURL.'post.php" target="iframetag">
            Nick<br /><input type="hidden" name="name" value="<?php echo $my->username; ?>"/>
            <br />
            Mensaje<br /><textarea name="message_box" rows="2" cols="15"></textarea>
            <br />
            <input type="hidden" name="message" value="" />
            <input type="submit" name="submit" value="Enviar" onclick="clearMessage()" />
            <input type="reset" name="reset" value="Borrar" /><br />
        </form>'
;
}
?>
    </td>
</tr>
</table>
Suerte!
__________________
El que dice "Solo sé que nada sé", esta asumiendo que sabe algo.
Lea las FAQ's!