list is an actual PHP function.. you need to reword your function name. Sometimes it can be as easy as prepending an underscore: _list($bk).
You can't use names of php functions as your own name, otherwise you get this error.
Now, if you'll allow me to speak about your function....
-- You don't define $num, so you'll get an error when you try to reference it...
$id = .$row['id'];
$title = .$row['title'];
$author = .$row['author'];
$price = .$row['price'];
$genre = .$row['genre'];
$stock = .$row['stock'];
I think you're trying to add the string to the current variable. If that's true, the proper syntax is:
$var .= 'some string'
What you have will be an error....