MySQL Forums :: Newbie :: PREG_Match?


Advanced Search

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? Scott Lacey 10/12/2009 10:06PM
Re: PREG_Match? Rick James 10/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.