I have a table which can a variable number of rows. each row will have a button.If any of that button in the rows will select , I need to display more details about that particular row , below the existing table.
How can i call the moredetails function from the button.
Now the problem is when i click the submit button the first table and the more details table will come directly.
The main problem is here in the code...
foreach($details as $vals)
{
?>
<tr>
<td align="center"><?php echo $vals[0]; ?></td>
<td align="center"><?php echo $vals[1]; ?></td>
<td align="center"><input name="detailsinfo" type="submit" id="detailsinfo" value="." onclick="<?php sending($vals[0]);?>"/></td>
<?php
}
f i use a calling function inside the onclick it ill produce the whole details inside that particular column of the first table.
if i use a isset function it ill not display anything..
how can i display the details table below the first table.
please help me..