You are here: Re: Attempting to use Bitwise Operators « All PHP « IT news, forums, messages
Re: Attempting to use Bitwise Operators

Posted by Wayne on 07/08/05 23:41

On Fri, 08 Jul 2005 13:10:45 -0400, "Michael B. Trausch"
<fdZEROman+spam@gmail.nospam.com> wrote:

>The idea is that when something calls userId(), it should get to see
>what type of user flags that are supported. Now I've moved things
>around, and it seems like the only if that ever executes is the first
>one, the code doesn't ever reach any of the elseif blocks.

Umm yes, that's the point of *elseif*. If the first block executes,
the other ones won't. Replace all your elseif's with regular if's and
your code will work as indended!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация