Hi,
How can i display data in a textarea after a link has been pressed? This data is saved in a database.
I'm trying to dynamically create a link for the field 'date'. If a user presses the link, the rest of the data for that date should be shown in a textarea.
i'm looping through my data like this:
foreach($data as $key)
{
echo '<a href="/"' . $key->test . '>' . $key->date. '</a>';
echo '<br />';
}
I dont know what i should be putting in 'a href'.
So to be clear, on the left side i got a few links which represent date's. On the right side i want to display a textarea which will contain the remaining data.
How can this be done?