amnesia623
11-12-2006, 08:44 PM
Hello
How can I check if a custom field has information in it? For example: If a custom field that asks what bar they go to is blank then I don't want anything output to the template. But if there is an entry for the field, then I wan it to display a phrase and the content of the variable (ie...$user likes to party at $customfield).
I can already get the custom field to output to the postbit template, just don't know how to check if it's empty.
Thanks for your help!
How can I check if a custom field has information in it? For example: If a custom field that asks what bar they go to is blank then I don't want anything output to the template. But if there is an entry for the field, then I wan it to display a phrase and the content of the variable (ie...$user likes to party at $customfield).
I can already get the custom field to output to the postbit template, just don't know how to check if it's empty.
Thanks for your help!