Posted by stjepko on 03/13/07 22:14
I have a problem in my code...this is a one php file wich is included in
another php file
--------------------------------------
<table>
<?php
$sqlpodartikli = "SELECT * FROM podartikli WHERE artiklid=".$row[id];
$result2 = mysql_query($sqlpodartikli) ;
if($result2)
{
while($row2 = mysql_fetch_array($result2))
{
?>
<tr>
<td><?php echo $row2[rednibr]; ?></td>
<td><?php echo $row2[opis]; ?></td>
<td><?php echo $row2[proizvodjac]; ?></td>
<td><?php echo $row2[sifra]; ?></td>
<td><?php echo $row2[cijena]; ?></td>
</tr>
<?php
}
}
?>
</table>
-----------------
I want to order by rednibr table in podartikli....how?
tnx
[Back to original message]
|