peter222 Reply #1, 1 year, 5 months ago
I need to display content only where there is no $_GET['tested_value']. So, I wrote snippet:
get_url snippet:
and then put this test code to site template
I see first '1' displayed so, get_url was correctly returned, but I can;t see 'test' word. Why doesn't work this condition?
get_url snippet:
<?php if (!$_GET['tested_value']) return 1; ?>
and then put this test code to site template
[!get_url!] [+phx:if=`[!get_url!]`:is=`1`:then=`<p>test</p>`+]
I see first '1' displayed so, get_url was correctly returned, but I can;t see 'test' word. Why doesn't work this condition?