M
marc_mcdermott
Guest
I'm definitely a php newbie so this may seem very easy to some. I'm trying to use a php argument to define a variable. Here is the way I have it set up now:
$username = "marc_mcdermott";
What i need is the variable to be dynamically populated with something like this:
$username = "<?php echo($aOptions['twitter-id']); ?>";
Where 'twitter-id' is a field in my theme's admin panel. Is this even possible to do? How would I dynamically fill that $username variable?
Thanks in advance!
$username = "marc_mcdermott";
What i need is the variable to be dynamically populated with something like this:
$username = "<?php echo($aOptions['twitter-id']); ?>";
Where 'twitter-id' is a field in my theme's admin panel. Is this even possible to do? How would I dynamically fill that $username variable?
Thanks in advance!