On 07 April 2004 15:48, William Lovaton wrote:

> I guess that works but every possible solution posted in this thread
> is a lot of lines of code to perform a simple validation.

Uh -- how are:

  if(strcmp((int)$PageOptions['Default'],$PageOptions['Default'])==0)

  if ((string)(int)$PageOptions['Default'] === $PageOptions['Default'])

"a lot of lines of code"?

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

Reply via email to