I've got the script working just fine I'm just not that great at php yet. What I need to do is simply have the script open up links in a new window when it calls it from the database. It works fine now but I mess something up when I simply add target="_blank" to the link. I get a sytax error that I'm sure is because I just need to add a stupid back slash or something. Heres the piece of code: $topics_html = ''; while($topic = mysql_fetch_array($result)) { $topics_html .= "<a href=\"{$path}viewtopic.php?t={$topic['topic_id']}\">{$topic['topic_title']}</a><br /><br />"; } mysql_close($conid); echo $topics_html; ?> Any help would be greatly appreciated :) Code (markup):
Try using: target= '_blank' href and I don't think you will need to backslash the ' but you might. Try it without first.