I am using the spry tabbedpanels to display information on a webpage pulling information from my database. Right now I have it set so that when a variable is “null” it displays a generic message. That code looks like this.
- Brochure
- Videos
- Additional Images
But I would rather have it not create the tab if the variable is null. I have tried using an if statement wrapped around the div tag that creates said tab but it tells me i have a syntax error.
Here is the code I have tried to use to make this happen. However all it gives me is a blank page.
<?php
if ($row_rsDetails[‘Video’] !== null)
return (
?>