1064: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] => /hsphere/local/home/linktrad/linktradeexchange.com/include/database.php
            [line] => 124
            [function] => error
            [args] => Array
                (
                    [0] => 5
                    [1] => 1
                )

        )

    [1] => Array
        (
            [file] => /hsphere/local/home/linktrad/linktradeexchange.com/get_pages.php
            [line] => 61
            [function] => query
            [class] => sql
            [type] => ->
            [args] => Array
                (
                    [0] => select suid from domains where uid={$mykey}
                    [1] => 1
                )

        )

)
Error on query from database !::select suid from domains where uid={$mykey}