![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/05/2010, 09:16
|
![Avatar de Carlojas](http://static.forosdelweb.com/customavatars/avatar185210_1.gif) | | | Fecha de Ingreso: junio-2007 Ubicación: Shikasta
Mensajes: 1.272
Antigüedad: 17 años, 8 meses Puntos: 49 | |
Respuesta: ayuda con script. Que tal gvedder, lo que deseas podrias hacerlo de la siguiente forma: aunque te digo que existen muchas maneras de hacerlo hay te va un ejemplo:
Código PHP:
Ver original$query = "SELECT NUM_REG,CLV_ART,DESCR,EXIST FROM dbo.INVE01"; echo "<table align='center'>"; echo "<tr> <th>campo1</th> <th>campo2</th> <th>campo3</th> <th>campo4</th> </tr>"; { echo "<tr>"; echo "<td>".$fila['NUM_REG']."</td>"; echo "<td>".$fila['CLV_ART']."</td>"; echo "<td> ".$fila['DESCR']."</td>"; echo "<td>".$fila['EXIST']."</td>"; echo "</tr>"; } echo "</table>";
Asi listarias los resultados de tu consulta en una tabla.
Saludos.
__________________ "SELECT * FROM Mujeres WHERE situacion NOT IN ('CASADAS','CON HIJOS','ATORMENTADAS','CUASI-ENNOVIADAS') AND personalidad <> 'INTENSA'" |