2009-01-22, 12:56 AM
{$post['fid*']}
I'm aware that will retrieve info from the profile fields, however if a user does not enter anything in that profile field, this info still shows up in the postbit. How can I make it so that it doesn't display anything in the post bit if that field is empty.
I'll give this example to give you a better idea of what I'm trying to accomplish:
Real Name: {$post['fid3']}
So if this user put "John", it would show as Real Name: John in their post bit. However if they didn't put anything, it would show "Real Name: "
I don't want "Real Name:" to show up if the field is empty. So if the user did not put any real name in, it would should not display "Real Name:" at all. But if they do put something it, it should show it.
I'm aware that will retrieve info from the profile fields, however if a user does not enter anything in that profile field, this info still shows up in the postbit. How can I make it so that it doesn't display anything in the post bit if that field is empty.
I'll give this example to give you a better idea of what I'm trying to accomplish:
Real Name: {$post['fid3']}
So if this user put "John", it would show as Real Name: John in their post bit. However if they didn't put anything, it would show "Real Name: "
I don't want "Real Name:" to show up if the field is empty. So if the user did not put any real name in, it would should not display "Real Name:" at all. But if they do put something it, it should show it.