PDA

View Full Version : signature code question


Boofo
03-28-2004, 08:03 AM
Could someone please tell me how I would combine these two statements into one and still have them do what they would individually?

'signature' => iif($bbuserinfo['signature'] !== '', true)

and

'signature' => iif($bbuserinfo[fieldXX] == 1, false, true),

Xenon
03-28-2004, 11:04 AM
'signature' => iif($bbuserinfo['signature'] !== '' AND $bbuserinfo[fieldXX] != 1, true, false)

Boofo
03-28-2004, 11:13 AM
Ok, with the second variable, that means if the box ISN'T checked, right?

Xenon
03-28-2004, 11:16 AM
correct

Boofo
03-28-2004, 11:40 AM
Thank you, sir. ;)