this is the code I have so far:
Code: Select all
// if there are then display the "view comments" link.
if (!mysql_num_rows($comments) == 0)
{
// The javascript allows the "view comments" to be toggled on and off by clicking the link
$comment_result = mysql_query ($comments);
$comment_row = mysql_fetch_row($comment_result);
?>
| <a href="#" onclick="toggle('viewcomment<?=$row['entryID']?>')">View comments<?=['$comment_row']?>"</a>
<div id="viewcomment<?=$row['entryID']?>" style="display: none;">Thanks
feyd | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]