| While programming in PHP, what characters do I use between the elements when testing two or more conditions?

While programming in PHP, what characters do I use between the elements when testing two or more conditions?

G M asked the question:


While programming in PHP, what characters do I use between the elements when testing two or more conditions when either one is True?

Related posts:

  1. Computer programming. Is Python Similar to PHP? ? hold_on_and_stay_strong asked the question: I found this open source book:...

Filed Under Programming & Design |

Tagged With ,

Comments

2 Responses to “While programming in PHP, what characters do I use between the elements when testing two or more conditions?”

  1. r_ranjith on November 23rd, 2008 1:57 am

    you can use “or” or “||” to test whether either one is true.

    The other operators are:

    and, &&
    not !
    xor

  2. While programming in PHP, what characters do I use between the elements when testing two or more conditions? | PHP-Blog.com on January 20th, 2009 3:19 am

    [...] original post here: While programming in PHP, what characters do I use between the elements when testing two or more con… Related ArticlesBookmarksTags History PHP originally stood for Personal Home Page.It began [...]