Hello,
What I want to do is while executing MySQL query, passing column data into a PHP function and comparing the result with WHERE clause...
Something like that, I have the slug() function which I wrote in PHP and my query will be something like;
SELECT * FROM articles WHERE slug(author) = "james-taylor";
So the query will select "author" column and pass it to slug() function and compare returning data with "james-taylor".
Anybody have any ideas? Thanks in advance :)