• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED Variables not working

panbo

New member
Messages
1
Likes
0
Points
1
#1
Hello,

I'm trying to pass a variable called adUnit I'm calling the snippet like this:

Code:
[wbcr_php_snippet id="7925" adUnit="LeftRail1"]
and in the php snippet I'm then just trying to echo the variable (for testing) like this:

Code:
echo $adUnit;
and not getting any return. Am I missing something obvious?

Thanks
Ben
 

Temyk

Support team
Staff member
Messages
136
Likes
11
Points
18
#2
Hi,

You must use lowercase variable names