ohh i forgot to mension that the "<th><?php echo $my['swordmen'] ?></th> <--- this needs to be 3 diffrent datatables (swordmen, macemen, pikemen---|" is from a diffrent database this is within the database "konto" and the rest from a diffrent possition =)Goofan wrote:well i get that but i dont see how that can fix the problem...
the picture im sending in might explain better then words!
Either i dont get ure solution or ure solution aint the one im in need of(thanks anyway)
as u see i dont think ure solution makes any diffrent besides giving me 3 new rowsCode: Select all
<table border="1"> <tr> <th>Units</th> <th>AtkArm</th> <th>Buyfor</th> <th>Sellfor</th> <th>You Own</th> <th>Buy</th> </tr> <?php while ($row1 = mysql_fetch_assoc($result1)): ?> <tr> <th><?php echo $row1['Units'] ;?></th> <th><?php echo $row1['AtkHp'] ;?></th> <th><?php echo $row1['Buyfor'] ;?></th> <th><?php echo $row1['Sellfor'] ;?></th> <th><?php echo $my['swordmen'] ?></th> <--- this needs to be 3 diffrent datatables (swordmen, macemen, pikemen---| <th> <font color="black" valign= "top"><input style='width:45;height:20' type="text" name="input ITD1" size="250" class="textbox" value=""></font> <input style='width:45;height:30;font-weight:bold' name="submit" type="submit" class="submit" value="Buy!"> </th> </tr> <?php endwhile; ?> </table>
and it needs to collect from the 3 diffrent rows swordmen, macemen, pikemen
sorry about this