MySQL Forums
Forum List  »  Newbie

PREG_Match?
Posted by: Scott Lacey
Date: October 12, 2009 10:06PM

I have a question about php and MySQL. I was wondering if there's a way to use the where syntax with a function such as the php preg_match. I have a table with a column containing multiple id's of rows(ex: 1,2,8) and I need to get rows where the id of a page is found in that column. For example, If i'm viewing the page 8, i need to get all rows that contain the number 8 in that column.

Options: ReplyQuote


Subject
Written By
Posted
PREG_Match?
October 12, 2009 10:06PM
October 13, 2009 11:37PM


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.