nevermind…figured it out. thanks.
I have a similar question, but I need to insert a [shortcode] that calls a db field as my parameter/variable…
I’m not super great at php, so I may not be defining the parameters/variables within the php correctly…
In the snippet I have…
<?php
echo shortenURL(‘http://aq155.nuteam.com/go/Opp/$_myvar’);
?>
then when I use the short code, I need the myvar = [iw_db_AffiliateID]
something like:
[php snippet=1 param=”myvar=[iw_db_db_AffiliateID]”
So, 2 questions…
1. how do I define “myvar” within the snippet to be a parameter/variable
2. Can I Use a shortcode/db field as the variable, and if so, how do I specify it in there?
Any help would be greatly appreciated by this newbie..
Thanks.