artdirectoreric
Instructor
I'm learning more and more each day. My latest puzzle is How can I have my website skip a section of HTML if a variable is NULL? I have some database results that are formatted in tables that will contain some shopping cart controls, but I don't want that section displayed if there's no information to display in it. VBScript may be the best option, using an IIf statement, but I don't know if that would work for a block of HTML, like this:
IIf Item <> NULL then PUT IN THIS BLOCK OF HTML, OTHERWISE SKIP IT
This would be on an ASP page utilizing Frontpage's Database Results Wizard.
IIf Item <> NULL then PUT IN THIS BLOCK OF HTML, OTHERWISE SKIP IT
This would be on an ASP page utilizing Frontpage's Database Results Wizard.