Can somebody help me link the subject field to a page featuring only that article?

I'd like the subject field to link to ?q=node/view/###
What variable holds the current post's #?

Thanks

Comments

killes@www.drop.org’s picture

jheikeb’s picture

I'm not sure if my situation is different from Anon or if drupal has changed, but $node->nid isn't working for my case. I've created a PHP page in drupal and I would like to make links in the page to the page itself. I think the best way is to get the nid and create a new URL because I need to tack on a query of my own to the end of the drupal URL but mayber there is a better way?