What do the two equal signs mean when not being used to compare?
$saveOrder = $listOrder == 'a.ordering';
I’ve never seen anything like this in php…. I am looking at the weblinks Joomla 1.7 admin component.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is used for comparing. Except the result of the comparison is assigned to
$saveOrder.The following code:
assigns
trueto the$saveOrder1variable andfalseto the$saveOrder2variable. If you do not believe, check for yourself here.