A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home2/bhmenus/public_html/application/models/Data_model.php:172)

Filename: core/Common.php

Line Number: 568


File: /home2/bhmenus/public_html/application/models/Data_model.php
Line: 106
Function: get

File: /home2/bhmenus/public_html/application/controllers/Place.php
Line: 101
Function: get_list

File: /home2/bhmenus/public_html/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 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 '-40, -20' at line 4

SELECT * FROM `restaurants` ORDER BY `name` LIMIT -40, -20

Filename: models/Data_model.php

Line Number: 106