Karl-Heinz Schulz wrote:
The following codes open the links perfect.
print($press[1]." <a target=_blank href=..\PDF/$press[3] class=\"press_links\">".strip_tags(html_decode($press[2]))."</a><br>");
1. Use quotes around your attributes.
target="_blank" href="....."
2. Why are you mixing / and \ in your path? Why not send an absolute path to the file so there's no confusion?
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php