Search:

Type: Posts; User: likwid; Keyword(s):

Search: Search took 0.29 seconds.

  1. Replies
    13
    Views
    798

    Re: Scary mysql query time

    Thanks everyone very much for help. Here is a working query:

    SELECT c.name, COUNT(X.name) FROM cats c
    LEFT JOIN
    (
    SELECT i.`name`, i.catid, COUNT(*) as ct
    FROM items i
    INNER JOIN...
  2. Replies
    13
    Views
    798

    Re: Scary mysql query time

    Thanks for reply.:)

    Looks like EXISTS works but I think I still need a join, otherwise the query recognises that the combination of tokens exist and returns all categories.
  3. Replies
    13
    Views
    798

    Re: Scary mysql query time

    Thanks all for replies.

    DrMelon, That doesn't work I'm afraid.

    pp and kernel, It looks indeed like it's multiple joins which is a total pain as there will be varying numbers of tokens. I can...
  4. Replies
    13
    Views
    798

    Re: Scary mysql query time

    SET FOREIGN_KEY_CHECKS = 0;

    CREATE TABLE `cats` (
    `id` int(10) unsigned NOT NULL auto_increment,
    `name` varchar(100) NOT NULL,
    `des` varchar(100) NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY...
  5. Replies
    13
    Views
    798

    Scary mysql query time

    I'm having a hellish time with a mysql query.

    It goes like this. I have three tables, one is of items, another of categories which each item falls into one of, the other tokens which each item has...
  6. Replies
    0
    Views
    513

    Javascript Object Manipulation

    Hi.

    I'm having a lot of problems figuring out the best way to do this.

    Basically I want to iteratively update an object of varying depth, that is objects of objects of object etc which in fact...
  7. Replies
    0
    Views
    258

    JS Function which tracks id of mouseover

    Hi

    I'm looking to track the position of the mouse relative to the DOM. What I would like is a function which returns the defined id of the innermost html element (not text node). Any advice would...
  8. Replies
    8
    Views
    15,980

    Re: Javascript split "\n" ignore empty lines

    It doesn't ignore empty lines :)
  9. Re: HOWTO - Fix your laptops brightness function keys operating properly in 8.04 Hard

    Unfortunately does not work with Samsung R60plus.
  10. Replies
    8
    Views
    15,980

    Re: Javascript split "\n" ignore empty lines

    Thanks very much :)

    It's a shame javascript seems pretty limited for inbuilt functions but I'm really enjoying using it nonetheless.
  11. Replies
    8
    Views
    15,980

    Re: Javascript split "\n" ignore empty lines

    Hi

    That would work, in fact the split function loads the textarea into an array. I was hoping there would be a delimiter that I could use within split.
  12. Replies
    8
    Views
    15,980

    Javascript split "\n" ignore empty lines

    Hi

    Is it possible to split the contents of a text box into rows while ignoring empty lines, using split? It's possible in php but i can't find anything for js.

    Thanks :)
  13. Re: Simple fix to my ongoing hardware woes - British summer!

    The problem is the lack of a real summer. The weather's rubbish here, we even had hail stones week before last. We have quite large windows in our flat, it's pretty old. I think a vauxhall nova air...
  14. Re: Simple fix to my ongoing hardware woes - British summer!

    An awning! :)

    I assumed the cold damp air is being sucked through the air intake. Maybe it wouldn't be a problem, but for the fact that we have bare floorboards in our flat. I think my only choice...
  15. Simple fix to my ongoing hardware woes - British summer!

    Hi

    I was having problems over the last few months with a media box in our living room freezing up randomly.

    Having tried everything to troubleshoot, spending hours swapping ram, cpu,...
  16. Replies
    1,361
    Views
    1,195,125

    Re: Mount samba shares with utf8 encoding using cifs

    My problem with :

    CIFS VFS: Server not responding

    seems to have gone away. Not sure how. Worth mentioning, i installed debian etch amd it originally exhibited the same problems, so it seems...
  17. Replies
    1,361
    Views
    1,195,125

    Re: Mount samba shares with utf8 encoding using cifs

    That didn't help i'm afraid. The only apparent difference was that my drives were also mounted in /media.
  18. Replies
    1,361
    Views
    1,195,125

    Re: Mount samba shares with utf8 encoding using cifs

    I'm using fstab
  19. Replies
    1,361
    Views
    1,195,125

    Re: Mount samba shares with utf8 encoding using cifs

    Thanks dmizer for howto, it's really helpful.



    I'm having this same problem after a new installation.
  20. Replies
    16
    Views
    3,697

    Re: Setup Amarok to use a MySQL database

    http://amarok.kde.org/amarokwiki/index.php/MySQL_HowTo

    There's a couple of semicolons missing from end of mysql commands.
Results 1 to 20 of 21