Page 1 of 1
HELP PLEASE!!
Posted: Thu Jan 26, 2006 9:02 pm
by shoxlx
is their a way i can say:
if( $this == $that and $these == $those){ }else{ }
is their a code or somthing that will replace the word 'and' so both function have to be true to make the string work
Posted: Thu Jan 26, 2006 9:22 pm
by feyd
Please work on creating a more descriptive thread subject than "HELP PLEASE!!"
'and' is a keyword and performs the action you are wishing.
Re: HELP PLEASE!!
Posted: Thu Jan 26, 2006 9:58 pm
by raghavan20
shoxlx wrote:is their a way i can say:
if( $this == $that and $these == $those){ }else{ }
is their a code or somthing that will replace the word 'and' so both function have to be true to make the string work
Forgive me if I did not understand the question, but I am surprised to see you asking help for basic expressions....you should probably learn more PHP Manual or Tizag.com has good tutorials on PHP.
Code: Select all
$a = 4;
$b = 5;
$c = 8;
if ($a == $b && $a==$c){
}else{
}
Posted: Thu Jan 26, 2006 10:01 pm
by John Cartwright
the manual might be helpful
