There has been a SQL error

Error Text: Undeclared variable: $offset

SQL String:

SELECT 	KIDS_Book.*, KIDS_Author.*, BookIndex.pub_date
								FROM KIDS_Book LEFT OUTER JOIN KIDS_Author ON KIDS_Author.AuthorID = KIDS_Book.AuthorID
								LEFT JOIN BookIndex ON KIDS_Book.ISBN13 = BookIndex.isbn13
								WHERE (PrimaryGenre="pic" OR SecondaryGenre LIKE "%#pic#%") AND KIDS_Book.Enabled=1 ORDER BY Title ASC LIMIT $offset, 30

URL: /genreall/pic/title

Referrer:


Array
(
    [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
    [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
    [PATH] => /sbin:/usr/sbin:/bin:/usr/bin
    [REMOTE_ADDR] => 54.158.228.55
    [SCRIPT_FILENAME] => /home/lovereading/www.lovereading4kids.co.uk/www/genreall.php
    [SERVER_PROTOCOL] => HTTP/1.0
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /genreall/pic/title
    [SCRIPT_NAME] => /genreall.php
    [PATH_INFO] => /pic/title
    [PATH_TRANSLATED] => /home/lovereading/www.lovereading4kids.co.uk/www/pic/title
    [PHP_SELF] => /genreall.php/pic/title
    [REQUEST_TIME_FLOAT] => 1436206090.438
    [REQUEST_TIME] => 1436206090
)

Trace:


Step 0 => 
        (
            [file] => classes/book.class.php
            [function] => query_2_array - line 586
            [class] => DB
            [args] => 
                (
                    [0] => SELECT 	KIDS_Book.*, KIDS_Author.*, BookIndex.pub_date
								FROM KIDS_Book LEFT OUTER JOIN KIDS_Author ON KIDS_Author.AuthorID = KIDS_Book.AuthorID
								LEFT JOIN BookIndex ON KIDS_Book.ISBN13 = BookIndex.isbn13
								WHERE (PrimaryGenre="pic" OR SecondaryGenre LIKE "%#pic#%") AND KIDS_Book.Enabled=1 ORDER BY Title ASC LIMIT $offset, 30
                )

        )

Step 1 => 
        (
            [file] => logic/genreall.logic.php
            [function] => getthismonthsbooks - line 89
            [class] => book
            [args] => 
                (
                    [0] => pic
                    [1] => 
                    [2] => Title ASC
                    [3] => 0
                )

        )

Step 2 => 
        (
            [file] => genreall.php
            [args] => 
                (
                    [0] => /home/lovereading/www.lovereading4kids.co.uk/www/logic/genreall.logic.php
                )

            [function] => include - line 9
        )



Lovereading4kids UK - Reviews and Recommendations. Buy Books and eBooks, Read free Opening Extracts

Picture Book Party from Walker Books Picture Book Party

All authors and books in this category
Show this month's Picture Book Party from Walker Books Books
Show Author List

Page 1 2 2 pages in total
Page 1 2 2 pages in total
  

For the best children’s books, look for the bear! Picture Book Party book montage________________________

As parents we know there is no joy more complete than watching the rapt faces of your children when you read a picture book together. Picture books have lots of other benefits as well such as stimulating language because children have a natural responsiveness to pictures. They are also perfect for settling children at bedtime.

‘As publishers Walker has made a hugely creative contribution to helping children to learn how to look, not only as an adjunct to learning to read but as a lifelong pleasure in itself, a springboard into all kinds of future delights.' – Shirley Hughes ________________________

This special section is full of all our favourite Walker picture books, both new this year and published previously. No childhood should be without many of these beautifully crafted titles and they will stay with your children (and hopefully their children’s children) for the rest of their lives!

Visit www.picturebookparty.co.uk to go behind-the-scenes in the world of picture books.