Activity Stream
48,167 MEMBERS
62312 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Banned
    Website's:
    WarezRelease.org ThatHosting.co

    Default PHP 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

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    imdber.org justpaste.me
    PHP Code: 
    function isPartUppercase($string) {
        return (bool) 
    preg_match('/[A-Z]/'$string);


  4.     
    #3
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    what's the
    PHP Code: 
    return for 
    cant i do:

    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)'

  5.     
    #4
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Can't get you, care to explain?
    If you want to select everything in lower case, then use mysql LOWER or LCASE function

  6.     
    #5
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    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:
    PHP Code: 
     IN ('app''music''tv''movie''template''ebook''xxx''mobile''game''stream'
    not good, delete all lower nnn uppercase.

  7.     
    #6
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by Chris2k View Post
    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:
    PHP Code: 
     IN ('app''music''tv''movie''template''ebook''xxx''mobile''game''stream'
    not good, delete all lower nnn uppercase.
    In that case, use this to select:
    PHP Code: 
    $query "SELECT * FROM table WHERE type REGEXP '^[a-z]+'"

  8.     
    #7
    Member
    SQL 'LIKE' is case insensetive, you might want to try that.

  9.     
    #8
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    that 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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Staff Username Change - Limit of chars
    By soft2050 in forum Feedback and Suggestions
    Replies: 35
    Last Post: 6th Jan 2012, 05:59 PM
  2. [Selling] 3 Chars PR1 .net Domain: 9JL.NET
    By Psycho in forum Completed Transactions
    Replies: 0
    Last Post: 19th Oct 2011, 08:46 PM

Tags for this Thread

BE SOCIAL