I have a table created with a While statement that posts rows from a SQL table. One of the cells has an ID
So, I want to put a button in each row that redirects the user to a generic page where the ID value is posted and can be used to display further information.
Page 1:
Code: Select all
while($row = mysql_fetch_array($list, MYSQL_ASSOC))
{
echo "
<tr>
<td>{$row['ID']}</td>
<td>{$row['value2']}</td>
<td>{$row['valueN']}</td>
<td> "where I want the button" </td>
</tr>
";}
Code: Select all
<? echo "choosed ID"; ?>