![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/05/2006, 13:18
|
![Avatar de Nefertiter](http://static.forosdelweb.com/customavatars/avatar29349_0.gif) | | | Fecha de Ingreso: enero-2003 Ubicación: Rosario
Mensajes: 1.316
Antigüedad: 22 años, 1 mes Puntos: 9 | |
mira fijate los resultados que te tira el sql
SHOW FIELDS FROM $tabla
ahi tenes un campo (key) que te indica si es primaria (PRI)
eso va en SQL |