Bit code

From: Date: Sat, 29 Mar 2003 13:38:29 +0000
Subject: Bit code
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8981@lists.php.net to get a copy of this message
Having some problems creating dynamic checkboxes Ok, the following code should produce the same results, Nothing.. Value wise they are the exact same thing.. However if you run the code you will see "First" shows up and not second.. {assign var="bitvalue" value='1'} {assign var="item" value='16'} {if $bitvalue & $item} First{/if} {if $bitvalue & 16} Second{/if}

« previous php.smarty.general (#8981) next »