Help
-
Search
-
Members
-
Calendar
Full Version:
PHP help
Movable Type Community Forum
>
Additional Resources
>
Tips and Tricks
bloglife
Sep 14 2004, 03:22 AM
I dont know php well, I'd like to open a new window for each entry link, how to add
target="_blank"
in the following php code?
CODE
echo "<a href=\"", "http://theredkitchen.net/oldrecipes/", $year, "/", $month, "/00", ($rows['entry_id']), ".php\">", ($rows['entry_title']), "</a><br>\n";
imabug
Sep 14 2004, 04:36 AM
try this
CODE
echo "<a href='http://theredkitchen.net/oldrecipes/". $year . "/" . $month . "/00" . $rows['entry_id'] . ".php' target='_blank'>" . $rows['entry_title'] . "</a><br />\n";
if there are errors, it's probably because I made a mistake with escaping quotes somewhere.
bloglife
Sep 14 2004, 11:57 AM
Thank you, it works.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Invision Power Board © 2001-2009
Invision Power Services, Inc.