return for
$frind = 'select type from table where strtolower(blah) or strtolower(blah) or strtolower(blah) or strtolower(blah) or strtolower(blah) or strtolower(blah) or strtolower(blah) or strtolower(blah) or strtolower(blah)';
IN ('app', 'music', 'tv', 'movie', 'template', 'ebook', 'xxx', 'mobile', 'game', 'stream')
In that case, use this to select:i wanna find just the types that exist and are lowercase eg:
app, movie, tv, music, etc. << lowercase words in the type field only, ignore these:
App, Movie, TV, Music etc. << they have an uppercase letter, cos i wanna delete only lowercase words........
5
---------- Post added at 10:48 PM ---------- Previous post was at 09:11 PM ----------
just tried:
not good, delete all lower nnn uppercase.PHP:IN ('app', 'music', 'tv', 'movie', 'template', 'ebook', 'xxx', 'mobile', 'game', 'stream')
$query = "SELECT * FROM table WHERE type REGEXP '^[a-z]+'";