![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/06/2010, 16:36
|
| | Fecha de Ingreso: abril-2010 Ubicación: Colombia
Mensajes: 229
Antigüedad: 14 años, 10 meses Puntos: 2 | |
Respuesta: Resource id #5 Prueba asi
<?php include('config.php'); include('header.php');
$sql = 'SELECT MAX(id) FROM frases';
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)){
echo $row['id'];
}
?> |