Click to See Complete Forum and Search --> : Javascript / PHP Bookmark It problem


jbachris
05-04-2006, 11:19 AM
Hey all,

I'm trying to add a bookmark link to the news pages on my site. I have this code:

<td><a href="javascript:bookmarksite('Crew Fans // <?=($headline)?>', 'http://www.site.com/n_detail.php?newsID=<?=($id)?>')">Bookmark Story</a></td>

But it is not currently working. $id should function, but when I view the link it leaves off the =$id.

Any ideas?

bogu
06-01-2006, 12:04 PM
Could your $id be empty? Did u check? Try view source ...

JPnyc
06-01-2006, 12:26 PM
You realize that only works in IE to begin with?