Jump to content

Archived

This topic is now archived and is closed to further replies.

brown2005

bookmark

Recommended Posts

<a href="javascript:bookmark('Website address goes here ....','Enter Your Title Here ....')";>Bookmark this Site</A>

i would like this to be written in php and where it says

Website address goes here i want

http://$w

Share this post


Link to post
Share on other sites
Can I ask why?  Is this a configurable part of the site that you're pulling from a settings file or something?

Either way: <a href="javascript:bookmark('http://<?=$w?>','Enter Your Title Here ....')";>Bookmark this Site</a> 

By the way, you need to end it with </a> like I did.  You were using bbcode.

Share this post


Link to post
Share on other sites
well say its pulled a website from the database

$w = $array['website_url'];

and i want to be able to bookmark this address...

is that the way u said above?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.