You are here: whats wrong with this statment? « PHP Language « IT news, forums, messages
whats wrong with this statment?

Posted by Brian on 05/26/05 23:06

Hi all

whats wrong with this?

if ( (strtolower($myrow[status]) != 'n') || (strtolower($myrow[status]) !=
'u') ) {
........
}

I'm trying to say if $myrow[status]) if not 'n' or 'u' then do X but it's
just not
playing ball here? I have tried putting in brackets, taking them out, moving
them about and all sorts, just can't get it to work



Brian

 

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

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