Casino News Topics
RSS & XML Feeds
Subscribe to our Article Feed:

MySQL Error in

Query :

select to_categ, to_id from ua_related where from_categ='news' and from_id in () order by to_categ like 'winners' desc

Error :
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 ') order by to_categ like 'winners' desc' at line 1


Array
(
    [0] => Array
        (
            [file] => /home/casinoje/www/clickcasino.com/data/functions.php
            [line] => 599
            [function] => query
            [args] => Array
                (
                    [0] => select to_categ, to_id from ua_related where from_categ='news' and from_id in () order by to_categ like 'winners' desc
                )

        )

    [1] => Array
        (
            [file] => /home/casinoje/www/clickcasino.com/template/v2/news_details.php
            [line] => 112
            [function] => get_related_items
            [args] => Array
                (
                )

        )

    [2] => Array
        (
            [file] => /home/casinoje/www/clickcasino.com/news.php
            [line] => 317
            [args] => Array
                (
                    [0] => /home/casinoje/www/clickcasino.com/template/v2/news_details.php
                )

            [function] => require_once
        )

    [3] => Array
        (
            [file] => /home/casinoje/www/clickcasino.com/404.php
            [line] => 219
            [args] => Array
                (
                    [0] => /home/casinoje/www/clickcasino.com/news.php
                )

            [function] => include
        )

)
Casino News Comments   Email   Print


Share |
Comments:
Add Comment  (You must be signed-in to add a comment: Sign-in | Register)