Friday, August 31, 2012

Re: if statement

Hi,

It means that either the word you are searching is in first position, that's why  its echoing 0 or (in_array($var_get, $word ) is empty ,meaning $var_get is not inside the array $word.




--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: