Bueno les comento un poco, estoy armando la parte del administrador cargue por la web en una base de datos todos los inmuebles que tiene y a su vez que pueda editar cada uno de ellos que agrego.
Bueno por el momento cree una parte principal donde seloguea el adm y luego puede ver un menu simple y todo los datos cargados ya en la base. Y la otra pagina cuando va a la opcion Agregar del menu, en esta le aparecera un formulario donde lo complata y se guarda en la base de datos.
Bueno el problema es que en la pagina principal no me aparecen mas de 3 datos cargados en la base de datos, no se bien cual es el problema, osea cuando agrego en el formulario algun inmuebles me los guarda pero maximo 3, muy rarooo!!!
entonces probe de otra manera, cargue manualmente otros inmuebles en la base de datos por el servidor y en la pagina principal solo me muestra 3!!! asi q probe una variantes de cosas y la verdad q no se es......

Espero que me puedan ayudar a resolver esto y se los agradeceria muchooo!!
Codigo de la pagina principal:
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <style type="text/css"> <!-- #Layer1 { position:absolute; left:51px; top:46px; width:493px; height:244px; z-index:1; } .Estilo1 {color: #FF0000} .Estilo2 {font-size: medium} .Estilo3 {font-size: 14px} .Estilo4 {color: #FF0000; font-size: 12px; } .Estilo5 {font-size: 12px} --> </style> </head> <body> <div id="Layer1"> <div align="center"> <?php $contador=1; if(($_GET["formlogin"]=="1")&& $_REQUEST["user"]="administrator" && $_REQUEST["password"]="12345678a" ) { ?> <!-- Direcciona a la Pagina de administrador --> <!--<script type="text/javascript">document.location.href='database.php'</script> --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Administrador</title> <style type="text/css"> <!-- .Estilo3 {font-size: xx-small} --> </style> </head> <body> <?php //Conectamos con la base de datos "basededatos" mysql_connect('localhost','user','clave); // usuario mysql_select_db('basededatos'); //Base De Datos //Hacemos una consulta en la tabla inmobiliaria $result = mysql_query ("SELECT * FROM inmobiliaria"); ?> <table width="400" border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#333333"> <tr> <th scope="col"><a href="database.php">Agregar</a></th> <th scope="col">Modificar</th> <th scope="col">Eliminar</th> <th scope="col">Informacion</th> <th scope="col">Ayuda</th> </tr> </table> <br /> <br /> <br /> <table width="1600px" border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#FFFF00"> <tr> <th width="100" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">ID</p></th> <th width="80" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">OPERACION</p></th> <th width="80" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">INMUEBLE</p></th> <th width="80" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">AMBIENTES</p></th> <th width="80" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">SUPERFICIE</p></th> <th width="40" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">JARDIN</p></th> <th width="50" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">COCHERA</p></th> <th width="50" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">TERRAZA</p></th> <th width="40" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">PILETA</p></th> <th width="40" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">BANIOS</p></th> <th width="50" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">COCINA</p></th> <th width="80" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">PROVINCIA</p></th> <th width="100" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">LOCALIDAD</p></th> <th width="100" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">BARRIO</p></th> <th width="140" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">DIRECCION</p></th> <th width="300" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">DESCRIPCION</p></th> <th width="100" bgcolor="#CCCCCC" scope="col"><p class="Estilo3">PRECIO</p></th> <th bgcolor="#CCCCCC" scope="col"><p class="Estilo3"></p></th> <th bgcolor="#CCCCCC" scope="col"><p class="Estilo3"></p></th> <th bgcolor="#CCCCCC" scope="col"><p class="Estilo3"></p></th> </tr> <?php do { ?> <tr> <table width="1600px" border="1" cellspacing="0" cellpadding="0" id="datos_inmobiliaria"> <tr> <th width="100" scope="col" height="7"><p class="Estilo3"><?=$row ['idprop'] ?></p></th> <th width="80" scope="col"><p class="Estilo3"><?=$row ['operacion'] ?></p></th> <th width="80" scope="col"><p class="Estilo3"><?=$row ['inmueble']?></p></th> <th width="80" scope="col"><p class="Estilo3"><?=$row ['precio']?></p></th> <th width="80" scope="col"><p class="Estilo3">SUPERFICIE</p></th> <th width="40" scope="col"><p class="Estilo3">JARDIN</p></th> <th width="50" scope="col"><p class="Estilo3">COCHERA</p></th> <th width="50" scope="col"><p class="Estilo3">TERRAZA</p></th> <th width="40" scope="col"><p class="Estilo3">PILETA</p></th> <th width="40" scope="col"><p class="Estilo3">BANIOS</p></th> <th width="50" scope="col"><p class="Estilo3">COCINA</p></th> <th width="80" scope="col"><p class="Estilo3">PROVINCIA</p></th> <th width="100" scope="col"><p class="Estilo3">LOCALIDAD</p></th> <th width="100" scope="col"><p class="Estilo3">BARRIO</p></th> <th width="140" scope="col"><p class="Estilo3">DIRECCION</p></th> <th width="300" scope="col"><p class="Estilo3 ">DESCRIPCION</p></th> <th width="80" scope="col"><p class="Estilo3"><?=$row ['precio']?></p></th> <th scope="col"> </th> <th scope="col"> </th> <th scope="col"> </th> </tr> </table> <?php }while ($row = @mysql_fetch_array ($result)) ?> </tr> </table> </form> <?php //Cierra la conexion con la base de datos mysql_close(); ?> </body> </html> <?php } else { ?> <h1 class="Estilo2"><span class="Estilo1">INMOBILIARIA GUOGLIELMI</span><span class="Estilo1">ADMINISTRADOR</span> </h1> </h1> </h1> </div> <form id="forml1" name="form1" method="post" action="adm.php?formlogin=1" > <div align="center"> <input type="hidden" name="formlogin" id="formlogin" value="1"> </div> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="140" scope="col"><div align="right"><span class="Estilo3"><span class="Estilo5"></span></span></div></th> <th scope="col"><p><span class="Estilo3"><span class="Estilo5"></span></span></p></th> </tr> <tr> <th width="140" scope="row"><div align="right" class="Estilo5"> <p><span class="Estilo1">*</span>USUARIO:</p> </div></th> <td><p class="Estilo5"> <label> <input name="user" type="text" id="user" size="45"/> </label> </p></td> </tr> <tr> <th width="140" scope="row"><div align="right"><span class="Estilo3"><span class="Estilo5"></span></span></div></th> <td><p><span class="Estilo3"><span class="Estilo5"></span></span></p></td> </tr> <tr> <th width="140" scope="row"><div align="right" class="Estilo5"> <p><span class="Estilo1">*</span>CONTRASEÑA:</p> </div></th> <td><p class="Estilo5"> <input name="password" type="password" id="password" size="45"/> </p></td> </tr> <tr> <th colspan="2" scope="row"><div align="center" class="Estilo4"> <p>*Completar ambos campos para ingresar correctamente. </p> </div></th> </tr> <tr> <th colspan="2" scope="row"><div align="center"> <input type="submit" name="Submit" value="Ingresar" /> </div></th> </tr> </table> </form> <?php } ?> </div> </body> </html>