Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Nov 2010
    Location
    Oregon
    Posts
    243
    Thanks
    23
    Thanked 10 Times in 10 Posts

    search not like MySql not working ??

    This search works for LIKE

    Code:
    $query = ("SHOW TABLES FROM 'MyDatabase' LIKE 'app_%'");
    But i am trying to show TABLES NOT LIKE, and this does not work, how do I resolve this search?

    Code:
    $query = ("SHOW TABLES FROM 'MyDatabase' NOT LIKE '%app_%'");
    Last edited by DataTalk; 06-23-2013 at 09:08 AM. Reason: RESOLVED


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •