skip to content

pense bete selection du node courant

09/04/2009
voici le petit bout de code des fois bien necessaires...
<?php
// if we find an argument called 'node' , and it's is numeric then do some TRUE stuff
// something like that ?

if (arg(0) == 'node' && is_numeric(arg(1))) $nodeid = arg(1);
print
$nodeid; // show me your nid!
?>