Cita:
Iniciado por _ssx
Creo que podrias hacer esto..
Código PHP:
$variable = 0;
while()
{
$variable+=$subtotales;
}
echo $variable;
Hola _ssx
Muchas gracias por tu aclaración, ya he conseguido utilizar la variable que estba dentro del while, haciendo lo que tu me indicastes.
Saludos y mil gracias.