Possible Duplicate:
Get a node ID from the URL
I have two content types which one referenced to another by url widget, when i click on the link the node id passing with the url.
How can i get this nid from the url?
Is there some function for that?
Thanks