Log in

View Full Version : signature code question


Boofo
03-28-2004, 07: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, 10:04 AM
'signature' => iif($bbuserinfo['signature'] !== '' AND $bbuserinfo[fieldXX] != 1, true, false)

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

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

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