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 Link to comment https://forums.phpfreaks.com/topic/172789-need-help/ 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> Link to comment https://forums.phpfreaks.com/topic/172789-need-help/#findComment-910724 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 Link to comment https://forums.phpfreaks.com/topic/172789-need-help/#findComment-910743 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.