Perhaps multiple calls to arg shifts..<br><br>How about this:<br><br>$a = arg(1);<br>if(($a != 27) || ($a != 39) || !$is_front){<br>?><br><div>You won't see this on node/27, node/39 or the front page.</div><br>
<?php<br>}<br><br><div class="gmail_quote">On 12 July 2010 12:14, Hendry <span dir="ltr"><<a href="mailto:hendry.htc@gmail.com">hendry.htc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I noticed that you have wrong syntax on this line:<br>
<div class="im"> <?php if (arg(1) != "27") || (!$is_front): ?><br>
</div>It should be<br>
<div class="im"> <?php if (arg(1) != "27" || !$is_front): ?><br>
<br>
</div># Hendry<br>
<br>
On Mon, Jul 12, 2010 at 9:20 AM, Chris McCreery<br>
<div class="im"><<a href="mailto:chris.mccreery@gmail.com">chris.mccreery@gmail.com</a>> wrote:<br>
</div><div class="im">> Right now I have this:<br>
> <?php if (arg(1) != '39'): ?><br>
> <div> Content </div><br>
> <?php endif; ?><br>
> This works just fine but when i try to add in a second arg(1) and OR<br>
> statement it doesn't work. Any ideas?<br>
</div>--<br>
<div><div></div><div class="h5">[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>