I am trying to compile a listing of records from my database where it compiles a set of fields into a group together. However if some fields are empty I want it to completely skip that line (without leaving a blank line). What is the best way to do this?
Currently I am echoing the field and then using an html break to go to the next line. I have considered storing the <br> command in my database when the record gets stored but that seems rather sloppy. Is there a way to get php to skip over a field that is blank and continue on the listing?
Thanks.
Greg
P.S. If you want to see the current working model it is at Use 15008 for a full listing of returned values, and 15019 to see what it does with blank field entries.
Greg Hicks
VB.Net (Newbie) Programmer
Currently I am echoing the field and then using an html break to go to the next line. I have considered storing the <br> command in my database when the record gets stored but that seems rather sloppy. Is there a way to get php to skip over a field that is blank and continue on the listing?
Thanks.
Greg
P.S. If you want to see the current working model it is at Use 15008 for a full listing of returned values, and 15019 to see what it does with blank field entries.
Greg Hicks
VB.Net (Newbie) Programmer