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_Rqm
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 == 'Flexib
On Tue, 2004-08-10 at 16:36, 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 = '
Hey,
I was looking at your code and should that not be an If - ElseIf - Else
structure? The way I read this is it first checks to see if the var is set
to 'Permanent' and sets $UserStatus. Then regardless of the previous test it
does another test on the $Emp_Status_Rqmt to see if it is 'Contactor'
On Wed, 11 Aug 2004 00:36:05 +0100, Harlequin
<[EMAIL PROTECTED]> 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' )
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]
6 matches
Mail list logo