is it possible to put a form input in a button so that when i click it will pass the id to the next page . Current my button is generated by a database i need to put the DeviceId in to a hiddenfield in the button to pass to another page . Thanks
while ( $row = mysql_fetch_object( $fetch ) ) {
$sResults .= '<tr id="'. $row->DeviceID . '">';
$sResults .= '<td>' . $row->DeviceID . '</td>';
$sResults .= '<td>' . $row->Model . '</td>';
$sResults .= '<td>' . $row->manufacturer . '</td>';
$sResults .= '<td>' .'<INPUT TYPE=BUTTON value="Add to My List">'. '</td>';
<a href="yourpage.php?id=yourid">Add</a>You can style it like a button with css if neededactionof the<form>tag