On Tue, Dec 06, 2005 at 12:38:28PM -0500, Gabe wrote:
> In this if statement, if the condition is true, then it will assign true
> to the array (as I want it to). If the condition evaluates to false, it
> assigns nothing. Any idea why it won't assign false? If I switch the
> FALSE boolean val
On Tuesday 06 December 2005 17:38, Gabe wrote:
> $this->m_arrQuesInfo[$this->m_itemID]['blnVacPromo'] = ( (
> !empty($_POST['vac_promo']) ) && ( $_POST['vac_promo'] == 'on' ) ) ?
> TRUE : FALSE;
I have a habit of casting true or false to boolean so that I'm sure they're
not interpreted as 1 or 0.
2 matches
Mail list logo