PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can anyone tell me wha the AND is for PHP code? When lookup this code on php.com site, it said that & means AND; however, many of my code I used && for AND. Will the following both workd?
&& is correct, my understanding is that one & is not, however, I personally prefer to use AND (or even the lowercase 'and') because it is immediately clear what the operative is.