[development] how to pass arguments to custom php code

Andrew Berry andrewberry at sentex.net
Fri Feb 20 19:58:47 UTC 2009


On 20-Feb-09, at 11:14 AM, Aldo Martinez Selleras wrote:

> i need to execute som custom php code, but i need take some data  
> from database
> with NID argument, how can i read the NID from current node???

http://api.drupal.org/api/function/arg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2672 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20090220/dd6dae79/attachment.bin 


More information about the development mailing list