Re: FAQ: How To, Code Snippets and Solutions
is there a way to get the member id in a member loop?
<?php while ( bp_members() ) : bp_the_member(); ?>
<input value="<?php bp_member_id(); ?>" name="ids[]"> ids </input>
<?php endwhile; ?>
bp_member_id() is not working, is there a way to achieve this?
otherwise i would have to match the members with their name when doing the database query, and that can be a long string which takes too long to evaluate when compared to an int.
i guess the answer to this question will be an obvious one, as soon as i read it, but right now i am confused
good bye and thanks for all the fish
spammie