Quote:
Originally Posted by myplacidcasual
I'm trying to rewrite this code:
echo "<a href=\"".$forumpath."private.php?$session[sessionurl] \">
so that it will open in _top
no luck though, it causes a parse error when I do something like
echo "<a href=\"".$forumpath."private.php?$session[sessionurl] \" target="_top">
I'm sure its something simple like quotations but nothing I've tried works.
|
You must escape all " that are part of the HTML else it will bugger up your php.
Try something like
PHP Code:
echo "<a href=\"".$forumpath."private.php?$session[sessionurl] target=\"_top\" \">