Web Form Page

 Get current node id Drupal 6

$nodeID = AM_get_current_node();
 * AM_get_current_node()
 * Return current node ID
 * Author: Mishu
function AM_get_current_node() {
    if ( arg(0) == 'node' && is_numeric( arg(1) ) ) {
        return arg(1);


2 thoughts on “Web Form Page”

  1. I was wondering if you ever considered changing the structure of your site?
    Its very well written; I love what youve got to say. But maybe you
    could a little more in the way of content so people could connect with it
    better. Youve got an awful lot of text for only having 1 or 2 images.
    Maybe you could space it out better?

Comments are closed.