A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Book::BookView()

Filename: controllers/book.php

Line Number: 73

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: controllers/book.php

Line Number: 77

Array
(
    [0] => FAIL
    [1] => Array
        (
            [Command] => SQL Command : UPDATE onec_book SET counter = counter+1 WHERE id=
            [Detail] => 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
        )

)