Cita:
Iniciado por neveuster
Muchas gracias GatorV
$Sql = "SELECT MAX(`id_factura`) + 1 AS proxima FROM `factura`";
$resu = mysql_query($Sql, $conexion) or die(mysql_error());
$row = mysql_fetch_array($Sql);
echo $row['proxima'];
fijate en lo que esta en rojo el mysql_fetch_array espera un resulset no un string, saludos