Error:
SELECT b.tag_id, t.tag FROM blog_tags b LEFT JOIN tags t ON b.tag_id=t.tag_id WHERE b.blog_id=

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Array
(
    [0] => Array
        (
            [file] => /home/lexfri/jv.lexfriedman.com/shared/mysql.php
            [line] => 162
            [function] => nicesql
            [args] => Array
                (
                    [0] => SELECT b.tag_id, t.tag FROM blog_tags b LEFT JOIN tags t ON b.tag_id=t.tag_id WHERE b.blog_id=
                    [1] => 
                )

        )

    [1] => Array
        (
            [file] => /home/lexfri/jv.lexfriedman.com/shared/blog.php
            [line] => 44
            [function] => getAll
            [args] => Array
                (
                    [0] => SELECT b.tag_id, t.tag FROM blog_tags b LEFT JOIN tags t ON b.tag_id=t.tag_id WHERE b.blog_id=
                )

        )

    [2] => Array
        (
            [file] => /home/lexfri/jv.lexfriedman.com/blog.php
            [line] => 48
            [function] => get_blog_post
            [args] => Array
                (
                    [0] => 93
                )

        )

)