Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/07/2006, 10:24
Avatar de Nefertiter
Nefertiter
 
Fecha de Ingreso: enero-2003
Ubicación: Rosario
Mensajes: 1.316
Antigüedad: 21 años, 4 meses
Puntos: 9
aca tenes el codigo arreglado

Código PHP:

<html> 
<head> 
<title>Departamentos</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<style type="text/css"> 
<!-- 
body { 
    background-color: #F2E09E; 

--> 
</style> 
</head> 

<body> 
<div align="left"> 
<?php  
   
include("conexal.phtml");  
   
$link=Conectarse();  
   
$result=mysql_query("select * FROM alqjkb WHERE (Tipo='departamento') ORDER BY dormitorios ASC, propiedad ASC ",$link);  
?>  
  <table width="680" border="0" cellpadding="0" cellspacing="0" bgcolor="#D3FED5" height="100%"> 
    <tr>  
      <td width="632" rowspan="10" valign="bottom" bgcolor="#ffffff" height="79"> 
        <div align="left">  
          <table width="630" border="1" style="border-collapse: collapse" bordercolor="#ffffff" cellpadding="0" cellspacing="0"> 

            <?php  
     

          
if($row mysql_fetch_array($result)) { do { 
           echo 
"<tr><td width=75 height=75 align=center valing=middle border=1 ><a href=\"v_fotos.php?n=".$row["fotos"]."\"><img src='imabasal/".$row["foto"]."' width =70 height=70></a></td> 
            <td width=535 align=left valing=middle> 
            <font face=ArialBlack size=4>&nbsp"
.$row["detalle"]."</font></td></tr>";

           }  
          while(
$row mysql_fetch_array($result));} 
          else {  echo 
"No se encuentan departamentos en alquiler por el momento";    } 
          
mysql_free_result($result);  
          
mysql_close($link);  
           
?>  


         </table> 
        </div> 
      </td> 
    </tr> 
  </table> 
</div> 
</body> 
</html>