... but only if the field contains data.
I am new to php and learning as I go. I am wondering if someone could post some sample code to show how to check if a field for a certain record contains data and if so, display that data and if not hide an area of code.
For example, if I were doing a simple output of data from a table on a page in a table, then if there was data in a certain field, I would show a row of the table with the definition and the contents of the field. If there is no data in the field, then that row would not appear.
Hope that makes sense...