PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 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 2
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /home1/prmmh988/public_html/config/init.php
    [line:protected] => 174
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home1/prmmh988/public_html/config/init.php
                    [line] => 174
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT `referer_engine_id` FROM `m_referer_engine` 
                                WHERE `referer_code` = ?
                        )

                )

            [1] => Array
                (
                    [file] => /home1/prmmh988/public_html/lib/global_vars.php
                    [line] => 473
                    [function] => my_query
                    [args] => Array
                        (
                            [0] => SELECT `referer_engine_id` FROM `m_referer_engine` 
                                WHERE `referer_code` = ?
                            [1] => Array
                                (
                                    [0] => WEBD
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home1/prmmh988/public_html/config/init.php
                    [line] => 162
                    [args] => Array
                        (
                            [0] => /home1/prmmh988/public_html/lib/global_vars.php
                        )

                    [function] => require_once
                )

            [3] => Array
                (
                    [file] => /home1/prmmh988/public_html/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /home1/prmmh988/public_html/config/init.php
                        )

                    [function] => include_once
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1064
            [2] => 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 2
        )

)