Question
Show or hide a region based on content
What I want to do is show a region based on content from a
field in a db record.
Show region if resortset is empty isn't what I want as the record isn't empty, it's just that part of the record is empty, so I want to show an image in its place.
I know how to do it in ASP, but not PHP. ASP is like this:
<%IF (recordset.Fields.Item("fld_image").Value) <> "none" Then%>
NOTHING TO SHOW
<%End IF%>
So, how do I do that with PHP?
Thanks
Mat
Show region if resortset is empty isn't what I want as the record isn't empty, it's just that part of the record is empty, so I want to show an image in its place.
I know how to do it in ASP, but not PHP. ASP is like this:
<%IF (recordset.Fields.Item("fld_image").Value) <> "none" Then%>
NOTHING TO SHOW
<%End IF%>
So, how do I do that with PHP?
Thanks
Mat
