Re: Site Members Loop & Variables
Thanks JJJ & Burt for your responses.
Burt, you said “Unless you are generating the value of $var in the template itself….” Basically, what I was doing, and sorry I didn’t include this in my code, was
<?php
$var = 5;
if ( bp_has_site_members( 'type=active&max=$var' ) ) : ?>
I was doing it the most simple way I could think of just to see if it would work first but that number as a variable was killing me.
Should I look at $foo’s or is that not the right solution? Thanks again.