Help with IF ELSE Statement

Hi there,

I have a problem which I just cannot seem to solve and would appreciated any help offered.

I have an IF Statement which was given to me from a Wordpress Plugin so I can use it in a template but I need to add an ELSE to this.

The code is:

<?php if (function_exists('fgeo_target') && fgeo_target('','US')==true) : ?>Your content<?php endif; ?>

So I need it so if it is not true to ECHO “Other Content”

Many thanks

The complete and styled syntax;

[php]

<?php if ($a == 5): echo "a equals 5"; echo "..."; elseif ($a == 6): echo "a equals 6"; echo "!!!"; else: echo "a is neither 5 nor 6"; endif; ?>

[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service