![Confundido](http://static.forosdelweb.com/fdwtheme/images/smilies/confused.png)
![Confundido](http://static.forosdelweb.com/fdwtheme/images/smilies/confused.png)
![Confundido](http://static.forosdelweb.com/fdwtheme/images/smilies/confused.png)
Código:
<? php include("conexion.php"); $result=mysql_query("select * from personal order by nombre"); while ($row=mysql_fetch_array($result)) { $a1 = $row["deuda1"]; $a2 = $row["deuda2"]; $deuda = $a1 + $a2; ?>[/PHP] <table BORDER="5" BORDERCOLOR="#0059bd" CELLSPACING="0" width="100%"> <tr BGCOLOR="#9fccff"> <td>ID <td>Nombres <td>Deuda <tr> <td><?echo $row["id"]; ?> <td><?echo $row["nombre"]; ?> <td><?echo $deuda;} ?>