estoy trabajando en localhost, con dreamweaver y mysql.
adjuntare el codigo por si es necesario
Código PHP:
Ver original
<?php require_once('Connections/base.php'); ?> <?php $maxRows_Recordset1 = 20; $pageNum_Recordset1 = 0; $pageNum_Recordset1 = $_GET['pageNum_Recordset1']; } $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1; $query_Recordset1 = "SELECT * FROM catalogo"; $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1); $totalRows_Recordset1 = $_GET['totalRows_Recordset1']; } else { } ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin título</title> </head> <body> <table width="966" border="0" cellspacing="1" bordercolor="#FF0000"> <tr> <td width="476" height="93" align="center" valign="middle"><table width="965" height="102" border="1" align="center" cellspacing="1" bordercolor="#000000"> <tr> <td height="21" colspan="4" align="center" valign="middle">Lista de Productos </td> <td width="96" height="21" align="center" valign="middle"><a href="insertar.php">Insertar</a></td> <td width="97" align="center" valign="middle"><a href="editar.php">Editar</a></td> <td width="92" align="center" valign="middle"><a href="ocultar.php">Ocultar</a></td> </tr> <tr> <td width="49" height="23" align="center" valign="middle"> </td> <td width="50" align="center" valign="middle">id</td> <td width="210" align="center" valign="middle">Nombre</td> <td width="341" align="center" valign="middle">Descripcion</td> <td colspan="3" align="center" valign="middle">Imagen</td> </tr> <?php do { ?> <tr> <td height="21"><form id="form1" name="form1" method="post" action=""> <label> <input <?php if (!(strcmp($row_Recordset1['id'],$row_Recordset1['id']))) {echo "checked=\"checked\"";} ?> type="checkbox" name="checkbox" value="checkbox" /> </label> </form> </td> <td height="21"><?php echo $row_Recordset1['id']; ?></td> <td><?php echo $row_Recordset1['nombre']; ?></td> <td><?php echo $row_Recordset1['descripcion']; ?></td> <td colspan="3"><?php echo $row_Recordset1['imagen']; ?></td> <tr> <td height="21" colspan="4" align="right">Total Productos </td> <td colspan="3"> <?php echo $totalRows_Recordset1 ?> </td> </tr> </table> </body> </html> <?php ?>
ojala me puedan ayudar..