I’m not quite sure why this isn’t working.
I’m trying to evaluate two variables, both of which get their values from expressionengine tags. I’m inside of a channel:entries tag, and this is the code:
<?php
$current_url = "{homepage}/{segment_1}/{segment_2}";
$details = "{comment_url_title_auto_path}";
if ($current_url == $campaign_details){
echo "true";
}
?>I can’t get it to say true. If I echo out $current_url and $details, they show the proper values. Any ideas?