You met multiple conditions inside if statements in JavaScript so look back at that page to remind yourself if necessary.  The only difference would be the quoting and the use of the dollar symbol for variables.  PHP has another trick though.