Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^4: Ranking MySQL Entries?

by jdlev (Scribe)
on Nov 20, 2013 at 20:05 UTC ( #1063592=note: print w/replies, xml ) Need Help??

in reply to Re^3: Ranking MySQL Entries?
in thread Ranking MySQL Entries?

I'm not's weird. I use phpmyadmin, and run that exact SQL statement against the database and get exactly what I want, but when I put it in a query for DBI to do, it says I have an error in my SQL syntax? Shouldn't whatever works on phpmyadmin just be able to be copy and pasted into the query for DBI->do?
I love it when a program comes together - jdhannibal

Replies are listed 'Best First'.
Re^5: Ranking MySQL Entries?
by Corion (Pope) on Nov 20, 2013 at 20:07 UTC

    DBI->do does not return values.

    In principle still, you should be able to "just" use the same SQL.

    As you don't show the relevant code, it's hard to advise you further. Showing the relevant code and data, and making it as self-contained as possible helps us help you better.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063592]
[james28909]: foreach server this bot is on, the gateway sends me a json response, which i parse out all the info with JSON, and this response has user information, i need to be able to add a user, and then update the user info when they join/leave rooms ect
[james28909]: i think im good
[james28909]: i just watched a youtube video
[karlgoethebier]: james28909: Did you look on CPAN?
[james28909]: lol
[karlgoethebier]: james28909: Super Search here ?
[karlgoethebier]: james28909: No kidding

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2017-05-25 16:40 GMT
Find Nodes?
    Voting Booth?