shadowfiend20 Posted September 2, 2009 Share Posted September 2, 2009 hi everyone i am trying to make a forum and as usual got stuck..wat i m doing here is printing the topics(title) posted by users from data base .. <?php while($forum = mysql_fetch_array($query1)) { $title = $forum['title']; $newDate = $forum['PostedOn']; $PostedBy=$forum['$PostedBy']; $replies=$forum['replies']; ?> <table class="tborder" width="80%" cellspacing="1" cellpadding="6" border="0" align="center"> <thead> <tr align="center"> <td class="thead"></td> ***** <td class="thead" width="50%" align="left"><?php print $title; ?></td> <td width="100" class="thead"><?php print $newDate; ?></td> <td class="thead"><?php print $replies; ?></td> <td class="thead"><?php echo"Views"; ?></td> </tr> <?php } ?> now how can i make these forum titles as a link(c the line with* marks), so that anyone can click on it and see the replies..i have no idea how to make these titles as a link...please help this noob..any help regarding this would be highly appreciable..ty Quote Link to comment Share on other sites More sharing options...
Fruct0se Posted September 2, 2009 Share Posted September 2, 2009 <td class="thead" width="50%" align="left"><a href="YOUR LINK"><?php print $title; ?></a></td> Quote Link to comment Share on other sites More sharing options...
shadowfiend20 Posted September 2, 2009 Author Share Posted September 2, 2009 oh well it is working now thanx a lot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.