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 'groups WHERE id_sekcja = '37' ORDER BY id ASC' at line 1
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /home/ikstbg/public_html/website/stary/lib/DbConnect.php
    [line:protected] => 88
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/ikstbg/public_html/website/stary/lib/DbConnect.php
                    [line] => 88
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 37
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/ikstbg/public_html/website/stary/lib/DbConnect.php
                    [line] => 177
                    [function] => PDOquery
                    [class] => DbConnect
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM groups WHERE id_sekcja = ? ORDER BY id ASC
                            [1] => Array
                                (
                                    [0] => 37
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/ikstbg/public_html/website/stary/modules/sekcja/controller/sekcja.php
                    [line] => 92
                    [function] => select
                    [class] => DbConnect
                    [type] => ->
                    [args] => Array
                        (
                            [0] => groups
                            [1] => 
                            [2] => Array
                                (
                                    [id_sekcja] => 37
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/ikstbg/public_html/website/stary/lib/MainController.php
                    [line] => 38
                    [function] => informacje
                    [class] => sekcja_controller_sekcja
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/ikstbg/public_html/website/stary/index.php
                    [line] => 29
                    [function] => render
                    [class] => MainController
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [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 'groups WHERE id_sekcja = '37' ORDER BY id ASC' at line 1
        )

)