Created
March 30, 2012 20:22
-
-
Save drnikki/2254721 to your computer and use it in GitHub Desktop.
block id
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text | |
text | |
<a href=" | |
<?php | |
$url = current_path(); | |
explode('/', $url); | |
var_dump($url); | |
if(is_numeric($url[1])) { | |
$nid = $url[1]; | |
echo "node/add/resume?=jobxyz=" . $nid; | |
} else { | |
echo "node/add/resume"; | |
} | |
?> | |
" class = 'blah blah' | |
. | |
. | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment