I come from programming in ASP and i think exists similar things in a programming level, but i'm trying to do this code:
[/b]
<?php
$rsp=mysql_query("select hv.*, herencia.* from hv left join herencia on hv.identificacion=herencia.hijo order by hv.nombre ", $link);
$i=1
while ($rscon=mysql_fetch_array($rsp)){
?>
<tr>
<td><?php echo $i; ?></td>
<td> </td>
<td> </td>
<td> </td>
<td><img src="images/accessories-text-editor.png" width="16" height="16"></td>
<td><img src="images/user-trash-full.png" width="16" height="16"></td>
</tr>
<?php
$i++;}
?> [/b]
I know that i can use the echo and print the whole line, and in this case is easy but when i have to convert more lines is really exhausting.
[/b]
<?php
$rsp=mysql_query("select hv.*, herencia.* from hv left join herencia on hv.identificacion=herencia.hijo order by hv.nombre ", $link);
$i=1
while ($rscon=mysql_fetch_array($rsp)){
?>
<tr>
<td><?php echo $i; ?></td>
<td> </td>
<td> </td>
<td> </td>
<td><img src="images/accessories-text-editor.png" width="16" height="16"></td>
<td><img src="images/user-trash-full.png" width="16" height="16"></td>
</tr>
<?php
$i++;}
?> [/b]
I know that i can use the echo and print the whole line, and in this case is easy but when i have to convert more lines is really exhausting.