Re: Need help calling multiple functions with if_is

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That looks like it should work, but it doesn't. There isn't a reason
to close the embedded php statements, but I suspect wpads isn't
recognizing the call when it is embedded like this. It just brings up
a blank page in all instances, which is the same issue I was having
with the original code string.

On Sat, Jul 31, 2010 at 2:25 PM, Jason Pruim <lists@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi Vince,
>
>
> On Jul 31, 2010, at 3:15 PM, Vince Leibowitz wrote:
>>
>> <?php if (is_home(<?php wpads('728leaderboard'); ?>)
>> (is_page(42)(<?php wpads('leaderboard1'); ?> (is_page(10)(<php?
>> wpads('leaderboard5);?>) >?
>
> Try:
>
>
>> <?php
>
>> if (is_home(wpads('728leaderboard');)
>
>> (is_page(42)( wpads('leaderboard1')
>
>> (is_page(10)(wpads('leaderboard5))
>
> ?>
>
> All I did was pull out all the jumps into PHP since the whole thing is a php
> if statement I didn't see the need to keep opening and closing php... Unless
> I'm not understanding why you are :)
>
>
>



-- 
~~~~~~~~~~~~~~
Vince Leibowitz
CapitolAnnex.com
twitter.com/CapitolAnnex
myspace.com/capitolannex facebook.com/profile.php?id=501233189
vince.leibowitz@xxxxxxxxx
AOL, MSN, Yahoo: vpltz || ICQ: 118433437

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux