Jonathan Wilkes wrote:

That's not his problem, he is using "===" euality check which just checks
the "type" of data, hence his code is returning TRUE for every item in the
array.

http://www.php.net/manual/en/language.operators.comparison.php


Not so -- the identical ("===") comparison operator checks for variable type AND variable value equality.

Regards,

David

--
David Grant
Web Developer

[EMAIL PROTECTED]
http://www.wiredmedia.co.uk

Tel: 0117 930 4365, Fax: 0870 169 7625

Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD

Company registration number: 4016744

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


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



Reply via email to