Results 1 to 8 of 8
Hybrid View
-
29th Apr 2012, 02:10 PM #1OPBannedWebsite's:
WarezRelease.org ThatHosting.coPHP Lowercase chars and Sql
straght to the point:
how to say;
PHP Code:$find = 'select type from table'
if(table field uses lowercase chars) {
// do this shit
}
Chris2k Reviewed by Chris2k on . PHP Lowercase chars and Sql straght to the point: how to say; $find = 'select type from table' if(table field uses lowercase chars) { // do this shit } Rating: 5
-
29th Apr 2012, 02:20 PM #2MemberWebsite's:
imdber.org justpaste.mePHP Code:function isPartUppercase($string) {
return (bool) preg_match('/[A-Z]/', $string);
}
-
29th Apr 2012, 03:01 PM #3OPBannedWebsite's:
WarezRelease.org ThatHosting.cowhat's the
PHP Code:return for
PHP Code:$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)';
-
29th Apr 2012, 03:28 PM #4Respected MemberWebsite's:
DL4Everything.com Soft2050.inCan't get you, care to explain?
If you want to select everything in lower case, then use mysql LOWER or LCASE function
-
29th Apr 2012, 09:48 PM #5OPBannedWebsite's:
WarezRelease.org ThatHosting.coi 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:
PHP Code:IN ('app', 'music', 'tv', 'movie', 'template', 'ebook', 'xxx', 'mobile', 'game', 'stream')
-
30th Apr 2012, 12:53 PM #6Respected MemberWebsite's:
DL4Everything.com Soft2050.in
-
29th Apr 2012, 11:15 PM #7Member
SQL 'LIKE' is case insensetive, you might want to try that.
-
30th Apr 2012, 01:22 PM #8OPBannedWebsite's:
WarezRelease.org ThatHosting.cothat is still selecting lower n uppercase m8, sql "LIKE" is CASE insensitive ass Put9in siad.............
SELECT * FROM wcddl_queue WHERE type LIKE ('app', 'music', 'tv', 'movie', 'template', 'ebook', 'xxx', 'mobile', 'game') = n0t working.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Staff Username Change - Limit of chars
By soft2050 in forum Feedback and SuggestionsReplies: 35Last Post: 6th Jan 2012, 05:59 PM -
[Selling] 3 Chars PR1 .net Domain: 9JL.NET
By Psycho in forum Completed TransactionsReplies: 0Last Post: 19th Oct 2011, 08:46 PM
themaLeecher - leech and manage...
Version 5.07 released. Open older version (or...