Hi, I' hoping someone can help with this.
I am trying to pass logged in user's Id via the url of an html field using the following:
7 =>
array (
0 =>
array (
'name' => 'fav_c',
'studio' => 'visible',
'label' => 'Add to Favourites',
'customCode' => '<a href="favorites.php?id={$fields.id.value}&u_id=<?p hp global $current_user;echo $current_user->id;?>" target="_blank">Favourites</a>',
),
),
Which obviously isn't working.
Any advice would be appreciated.
John


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks