MySQL Forums
Forum List  »  Perl

Re: querying comma seperated values in a db field?
Posted by: Stephen Madison
Date: September 28, 2006 06:50PM

I found that nothing works. I can only match on the $dbins_fd_ref results when there is only one value. It does not match if there are any commas in the product_xcat field at all. Even if there is no second value, only the comma then it causes results to fail.

Ex.

$dbins_fd_ref equates to bones_bearings we are happy :)

$dbins_fd_ref equates to bones_bearings, we are sad :(

Just the comma breaks the code regardless of what follows the comma.

Did you see my post regarding the split function?

Thanks Bob

Options: ReplyQuote


Subject
Written By
Posted
Re: querying comma seperated values in a db field?
September 28, 2006 06:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.