Fwd: [PHP] Help on number matching function

2011-09-17 Thread tamouse mailing lists
Notice: This communication, including attachments, may contain information that is confidential. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If the reader or recipient of this communication is not the intended recipient, an employee or

[PHP] Help on number matching function

2011-09-16 Thread Dare Williams
Dear PHP Group, I need a Function of any category in  either PHP or MySQL RDBMS customize Function, Class, Methods or anything that could help me compare a particular set of number and return their matching result. e.g If I have a 5 Digits set of number  and need to match it with another set

Re: [PHP] Help on number matching function

2011-09-16 Thread Robert Williams
On Sep 16, 2011, at 6:02, Dare Williams darrenwi...@yahoo.com wrote: I have a 5 Digits set of number and need to match it with another set of five digits and return how many number are match and the figures that are match. Check out array_intersect().

Re: [PHP] Help on number matching function

2011-09-16 Thread Ken Robinson
At 08:36 AM 9/16/2011, Dare Williams wrote: Dear PHP Group, I need a Function of any category in either PHP or MySQL RDBMS customize Function, Class, Methods or anything that could help me compare a particular set of number and return their matching result. e.g If I have a 5 Digits set of

Re: [PHP] Help on number matching function

2011-09-16 Thread Andre Polykanine
Hello Dare, DW I need a Function of any category in  either PHP or MySQL RDBMS DW customize Function, Class, Methods or anything that could help me DW compare a particular set of number and return their matching DW result. consider using array_intersect(). -- With best regards from

Re: [PHP] Help on number matching function

2011-09-16 Thread Mattias Thorslund
If one or both of your data sets are in MySQL already, there may be no need to do the comparison in PHP. Just use IN() or INNER JOIN. Or is there some particular reason why neither of these will work in your case? Cheers, Mattias On 09/16/2011 05:36 AM, Dare Williams wrote: Dear PHP Group,