Send to a Friend
How do I use PHP to get the node ID for a block?
Asked by shivian (10)
October 17th, 2007
I am using drupal and trying to write a block using PHP. The block would figure out the node ID for a page (ie: for http://site.com/node/14 it would return “14”) and then put that into another link I’m trying to make using that same number (ie: http://site.com/forward/14). Anyone know how I’d go about doing this?
Using Fluther
or