Hi, I have a variable which has value of "Yes" or "No". At this time, I have set the value to "No" but I have a problem. First look at this if statement:

PHP Code:
if(buffer && "Yes")
            {
                
MessageBox(hwndbuffer"D",MB_OK);
                
CheckDlgButton(hwndIDC_LOADATSTARTUPBST_CHECKED);
            }
            else
            {
                
CheckDlgButton(hwndIDC_LOADATSTARTUPBST_UNCHECKED);
            } 
If the value in "Yes", it puts a checkmark, else it does not. But it does put a checkmark and messagebox also says that the value is "No". What do I do to make it work the correct way?