Guest Posted June 7, 2003 Posted June 7, 2003 Hi there, Please can anyone tell me if it's possible for me to show a title graphic only when a description is present, and have it not shown when there is no description there? The graphic a simple thing that represents 'Overview' in graphic form that I just hard coded into the product_info.php. Maybe somebody well up on PHP can tell me how I could put an 'if' statement there so that it only shows up if I've put a description for the product there in the first place? Thanks in advance! Adam
mpdaddy Posted June 8, 2003 Posted June 8, 2003 Try something like this <?php if (tep_not_null($product_info['products_description'])) { ?> your html code here <?php } ?> Regards Wayne Wetterhahn
Recommended Posts
Archived
This topic is now archived and is closed to further replies.