Monday, 9 September 2013

Need help to display data into text area from selected link

Need help to display data into text area from selected link

Hi I need to display the blog string from the selected links ... my code
is as follows ... Now all i need is display the data by clicking the
particular link ... for example if i selected the first title named test1
i want to display only that blog in textarea ... please help thank you.
<?php
$order = "SELECT * FROM blog ORDER BY strTitle";
$result = mysql_query($order);
while($data = mysql_fetch_row($result))
{
?>
<a href="">
<?php
echo("<tr><td>$data[1]</td>"); ?> </a>
<br/>
<?php
}
?>

No comments:

Post a Comment