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';
   }
[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...?

-- 
-----------------------------
 Michael Mason
 Arras People
 www.arraspeople.co.uk
-----------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to