By fon_ame on
I have created the link called my node, but I cannot pass the value from current page to mynode page via this link. Is it possible to pass this value to global variable of mynode page?
<a href=?q=mynode> mynode </a>
Thanks in advance
Comments
you can use arg()
http://yoursite.com/your-page-path/mynode
arg(0) = you-page-path
arg(1) = mynode
I want something like <a
I want something like
<a href=?q=mynode&id=1>
and you should be able to do $_GET['id'] to get the value
This is what i am looking
This is what i am looking for, thank you so much.