On Tue, 2004-08-10 at 17:41, Jordi Canals wrote:
> Harlequin wrote:
> 
> > I have the following:
> > 
> > [SNIP]
> > ...
> > $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"];
> >    }
> >    if( $Emp_Status_Rqmt == 'Permanent' )
> >    {
> >    $UserStatus = 'Permanent';
> >    }
> >    if( $Emp_Status_Rqmt == 'Contractor' )
> >    {
> >    $UserStatus = 'Contractor';
> >    }
> >    else
> >    {
> >    $UserStatus == 'Flexible';
> 
> $UserStatus = 'Flexible';
> 
> >    }
> > [SNIP]
> > 
> > which echoes OK until I change the value to something other than Permanent
> > or Contractor. It simple echoes resource ID #n
> > 
> > what's wrong with me...? the code I mean...?
> > 
> 
> More easy:
> 
> $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"];
> $UserStatus = $Emp_Status_Rqmt;
> 
> Regards,
> Jordi.

more more easy. ;-)

$UserStatus = $row["Emp_Status_Rqmt"];

-- 
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
****************************************/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to