
 
		
		
    
-  tilt
 
	
	
 
 
 
		
			
	+ Responder ao Tópico
	
	
	
	
	
	
		
			
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
							
							
						
						
				
					
						
							galera to com problems
na sou um programador nato em php e estou criando uma pagina e esta dando uns erros....alguem pode me ajudar??? o problema eh q nao esta aparecend como deveria ja tentei mudar tudo e nada.....o codigo eh este:
<?php
        $includes = array("includes/cabecalho.inc","includes/menu.inc","includes/corpo.inc"<IMG SRC="images/forum/icons/icon_wink.gif">;
        for($j = 0 ; $j < 3 ; $j++){
                include $includes[$j]; }
?>
<html>
<table border="1" width="610" height="600" align="center">
<tr>
        <td colspan="2">
                <?php
                        if ($includes[$j])
                                include $includes[0];
                ?>
        </td>
</tr>
<tr>
        <td width="150">
                <?php
                        if ($includes[$j])
                                include $includes[1];
                ?>
 </td>
        <td height="550">
                <?php
                        if($includes[$j])
                                include $includes[2];
                ?>
        </td>
</tr>
<tr>
        <td colspan="2" height="50">rodape</td>
</tr>
</table>
</html>
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
						
				
					
						
							<?php
$includes = array("includes/cabecalho.inc","includes/menu.inc","includes/corpo.inc" <https://under-linux.org/images/forum...icon_wink.gif> ;
for($j = 0 ; $j < 3 ; $j++)
{
include $includes[$j]; 
}
?>
<html>
<table border="1" width="610" height="600" align="center">
<tr>
<td colspan="2">
<?php
//Cade seu "$i" ele só está lá no looping em cima!!!
if ($includes[$j])
include $includes[0];
?>
</td>
</tr>
<tr>
<td width="150">
<?php
//Cade seu "$i" ele só está lá no looping em cima!!!
if ($includes[$j])
include $includes[1];
?>
</td>
<td height="550">
<?php
//Cade seu "$i" ele só está lá no looping em cima!!!
if($includes[$j])
include $includes[2];
?>
</td>
</tr>
<tr>
<td colspan="2" height="50">rodape</td>
</tr>
</table>
</html>
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
						
				
					
						
							neste comentario tenho q dar outrtro ´for´???
nao entendi direito
 <IMG SRC="images/forum/icons/icon_cool.gif">  <IMG SRC="images/forum/icons/icon_cool.gif">  <IMG SRC="images/forum/icons/icon_cool.gif"> 
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
						
				
					
						
							poderia ser assim!
mas vc tem que ajustar as medidas do colspan....
<html>
<table border="1" width="610" height="600" align="center">
<?php
$includes = array("includes/cabecalho.inc","includes/menu.inc","includes/corpo.inc" );
for($j = 0 ; $j < 3 ; $j++){
	include $includes[$j];
	echo ´<tr><td colspan="300">´;
	if ($includes[$j])
	include $includes[$j];
        echo "</td></tr>";
}
?>
<tr>
<td colspan="2" height="50">rodape</td>
</tr>
</table>
</html>
acabei de editar ela reveja!
[ Esta mensagem foi editada por: PiTsA em 05-06-2003 16:35 ]
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
						
				
					
						
							Nem rolou...pode ser por causa do menu q eh feito em java???
Aparece uns 3 cabecalho 2 corpo 2 menus
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
						
				
					
						
							vc ajustou o colspan?! 
teste isso para ver se funfa primeiro numa pagina limpa...
depois vc coloca J A V A S C R I P T...
java != J A V A S C R I P T
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
- 
	
	
		
		
			
				
				
				
					
 tilt
				
				
						
						
							
						
				
					
						
							Ainda nao consegui estou loko ja nem sei mais oq fazer
Kra tb fix deste metodo mas o menu fica do lado de fora:
<html>
<table border="1" width="610" height="600" align="center">
<tr>
        <td colspan="2"><?php include ´includes/cabecalho.inc´?></td>
</tr>
<tr>
        <td width="150"><?php include ´includes/menu.inc´?></td>
        <td height="550"><?php include ´includes/corpo.inc´?></td>
</tr>
<tr>
<td colspan="2" height="50">rodape</td>
</tr>
</table>