![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/05/2007, 12:25
|
![Avatar de nicolaspar](http://static.forosdelweb.com/customavatars/avatar80283_16.gif) | | | Fecha de Ingreso: noviembre-2004 Ubicación: Villa Ballester Bs-As|Ar
Mensajes: 2.002
Antigüedad: 20 años, 2 meses Puntos: 34 | |
Re: Sentencia SQL en PHP Está mal cuando haces la asignación $num = $resultado["cod_cliente"]; ya que cod_cliente no existe en el query, usa un alias (SELECT MAX(cod_cliente) cod_cliente FROM CLIENTES)
EDIT; Respuesta masiva :P |