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
HELP PLEASE!!
Moderator: General Moderators
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
Re: HELP PLEASE!!
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.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
Code: Select all
$a = 4;
$b = 5;
$c = 8;
if ($a == $b && $a==$c){
}else{
}- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
the manual might be helpful 