php boolean help

Posted by William on Stack Overflow See other posts from Stack Overflow or by William
Published on 2010-03-21T01:42:31Z Indexed on 2010/03/21 1:51 UTC
Read the original article Hit count: 464

Filed under:
|

Hello, I seem to have a small problem, in the code below $a_trip is always true, even if $trip!= $admin_trip. Any idea why?

if($trip == $admin_trip)
$a_trip = true;


if($a_trip == true)
$trip = ("~::##Admin##::~");

© Stack Overflow or respective owner

Related posts about php

Related posts about boolean