Home
Portfolio
Resume
Photography
Contact
Get Node ID from URL (within block)
Categories:
Apache
(7)
Bash
(22)
Drupal
(27)
JavaScript
(2)
Joomla
(2)
MySQL
(2)
PHP
(29)
SVN
(2)
if
(
arg
(
0
)
==
'node'
&&
is_numeric
(
arg
(
1
)
)
&&
is_null
(
arg
(
2
)
)
)
{
$nid
=
arg
(
1
)
;
}
Graham Mickle's blog
Login
to post comments
Drupal
PHP