I'd like to combine this into an if else but whatever I am doing is breaking? Any ideas ? I am new to PHP. Would I would like to do is have the input changed based on the $perms being FALSE.
<? if ($perms['user_profiles|edit_billable']===TRUE) { ?>
<div class="field">
<label><?=l(273)?></label>
<div class="input">
<input type="checkbox" name="billable" value="1" data-bind="checked: userProfile().billable, disable:isBillable();">
</div>
</div>
</div>
<? } ?>
<? if ($perms['user_profiles|edit_billable']===FALSE) { ?>
<div class="field">
<label><?=l(273)?></label>
<div class="input">
<!-- This is where the else would go -->
<input type="checkbox" name="billable" value="1" data-bind="checked: userProfile().billable, enable:isBillable();">
</div>
</div>
</div>
<? } ?>
ini_set('display_errors', 1); ini_set('short_open_tags', 1);)