So here is what I did so far: http://d.pr/i/c6z
Code:
<tbody>
<?php while ($row = mysql_fetch_assoc($result)): ?>
<tr>
<td><?php echo $row['id']; ?></td>
<?php foreach ($row as $key): ?>
<td><a href="#"><?php echo $key; ?></a></td>
<?php endforeach; ?>
</tr>
<?php endwhile; ?>
</tbody>
and my mysql table looks like that: id (PRIMARY KEY), fullname, username. As you can see, what i'm trying to do is to display all of these records in html table, but what I don't want is href link in first column, just a numbers. SSo, how to remove in foreach loop the first value from the array which is 'id' or maybe there is a better way to do this thing?
<a>tag?