By scarer on
Hi,
I was wondering if there is a way to display users of a role in a table, with their profile fields, picture printed maybe using views and another module? I can program the php but it gets tedious for multiple roles.
At the moment I'm using custom php blocks to print them out.
Any help would rock!
Thanks,
Sarah
Comments
how to set data to N/A if database result can't be found
Hi,
I have written some custom code but now am having trouble trying to set data when it isn't in the database. The data form the next set of results moves over to the left. I've tried empty and isset and NULL and '' as conditions in an if else statement preceeding the while statement and it hasn't worked. Any help would be great.
This is my code:
Please help!!! :(
Tried all of these and still it doesn't work
silly
Gosh I'm silly. Should have referenced the ARRAY element to test. Works now.
double silly
actually now it doesn't work.. it just print not available for everything
ended up just printing the td tags before and after the while
ended up just printing the td tags before and after the while loop