On 07 April 2004 03:03, [EMAIL PROTECTED] wrote: > > From: "Merritt, Dave" <[EMAIL PROTECTED]> > > > > Okay seems to makes sense, but when I do the following it doesn't > > appear to be working correctly, or I'm viewing my logic incorrectly > > one: > > > > if ( (int)$PageOptions['Default'] == $PageOptions['Default'] ) { > > This works: > > if(strcmp((int)$PageOptions['Default'],$PageOptions['Default'])==0)
This does too: if ((string)(int)$PageOptions['Default'] === $PageOptions['Default']) Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php