This question is be related to a resolved thread.
I’ve just gone in to ExpressionEngine to finish off the work I began, using the conditional statement ( http://ellislab.com/forums/viewthread/216922/#1002267 ) I had problems with yesterday and while it appeared to be working, it’s actually not — it’s evaluating to true every single time, no matter what the values of the fields are, whether they have data in them or not.
I’ve even swapped out the code for PHP and it’s still doing the same thing:
<?php
$title_shop = '{embed:title_shop}';
$link_shop = '{embed:link_shop}';
if (isset($title_shop) && isset($link_shop)): ?>html…<?php endif; ?>I only want the HTML to appear if there is data in both the variables.
Any ideas?