Hi just go through this code.......
<?php
include('database.php');
$result = mysql_query("SELECT * FROM autoalto_mail");
while($row = mysql_fetch_array($result))
{
?>
<tr><td width="10%"></td>
<td ><img src="images/buldot.gif" alt="" height="6" width="6">
<?echo $row['from']?></td>
<td ><a href="contractor_mail_action_contents.php"><?echo $row['subject']?></a></td>
<td><?echo $row['date']?></td>
</tr>
<tr><td width="10%"></td>
<td colspan="4" style="background-repeat: repeat-x;" background="images/dot.jpg" height="0" width="300"></td></tr>
<?
}
mysql_close();
?>
Here i am displaying the values from db .....those are from, subject and date
actually in the table it has 4 columns from ,subject ,date and contents. but i am displaying only 3 of them. what i want is if the user clicks on the subject it should possible display the contents of that particular subject........in the same page . pls help me how to do this.