Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/05/2011, 22:34
chalnet
 
Fecha de Ingreso: mayo-2011
Mensajes: 62
Antigüedad: 12 años, 11 meses
Puntos: 2
Problema con marco junto con tabla con php

QUE TAL AMIGOS querias decirle que tengo un problema mi siguiente codigo que seria el index.php me muestra mi sitio principal el problema es que quiero insertar un iframe para que este en la izquierda adonde mostrara datos del usuario pero al insertar el iframe las tablas de foto de perfil de noticias etc se me van para abajo y yoquiero que ell iframe este pegado del lado derecho o izquierdo sin que las tablas de foto de perfil noticias etc se vallan para abajo al agrandar el tamaño del iframe.+
Gracias saludos





Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Welcome To Social Home</title></head><body bgcolor="white">
<div align="left">


</div>

<?php include("comprobar.php");

    if(
$loginCorrecto == false) {
        
?>
        <script language="javascript">
            <!--alert("Usted no tiene permiso para entrar a este sitio");-->
            location.href = "login.html";
        </script>
        <?php }else {
        
?>
        
        
        
        <table align="center" border="1">
                                        <tbody><tr>
                                        <td>blalalbla:</td>
                                        
                                        
                    
                                        </tr>

<?php //inicio algoritmo para traer id
CONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
}else {
    echo 
"algo anda mal";
    }
    
    
//fin de algoritmo


            //echo BLABLA;
    //echo BLABLA;
    //echo BLABLA;

//CONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
?>
</body></table>


<!--aqui empiesa la tabla de la foto de perfil:
-->
<table align="center" border="1" width="200">
<tbody><tr>
<?php $sql "CONSULTAS SQL';";

CONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL

if($rutadeimagen == null){//>
   
<td height="200"><?php echo ("<img src = 'perfil/invisible.jpg' style='max-width: 200px; max-height: 200px'> "); ?><br>
</td></tr>
<tr><td><a href="subir.php">Cambiar Foto de perfil</a></td></tr>

<?php }else{//si tiene avatar
?>


<tr><td height="200"><?php echo ("<img src = perfil/$idpe style='max-width: 200px; max-height: 200px'> "); ?><br>
</td></tr>
<tr><td><a href="subir.php">Cambiar Foto de perfil</a></td></tr>

<?php }
?>

</tbody></table>
<table border="1" >
<tr align="left"><td>asdasdasdasdada</td></tr>
</table>
<br>

    <table align="center" border="0">
                                <!--<td>Titulo</td>-->
                                        <body><tr><td>La Familia <?php echo $usuario?> Dice:            </td>
                                        <td>Publicó:                                    </td>
                    
                                        </tr>
<?php //algoritmo para traer quien publico
CONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
}else {
    echo 
"mal";
    }


// fin algoritmo



CONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL
CONSULTAS SQLCONSULTAS SQL
CONSULTAS SQL


?>

</tbody></table>
<br>

<br>
<br>
<a href="agregarn.php"> Agregar una noticia familiar</a>
<br>
<a href="perfil.php">Buscar Familias</a>
<br>
<a href="saludos.php"> Cerrar Sesion</a>

<!--
<hr><div align="center">Trabajando Con PHP, HTML, SQL y COOKIES . PROXIMAMENTE SESIONES Y AJAX</div>
<div align="center">Desarrollando Brian </div>
-->
<?php }
    
    

?>


</body></html>