Deprecated: Assigning the return value of new by reference is deprecated in /home/thetsco/public_html/curry2go.co.uk/system/codeigniter/Common.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/thetsco/public_html/curry2go.co.uk/system/codeigniter/Common.php on line 136

A PHP Error was encountered

Severity: 8192

Message: Function set_magic_quotes_runtime() is deprecated

Filename: codeigniter/CodeIgniter.php

Line Number: 60

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 255

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: database/DB.php

Line Number: 133

A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Viewmap::show()

Filename: controllers/viewmap.php

Line Number: 10

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 'AND r.is_active='A'' at line 3

SELECT r.id,street_address,address_line_2,city,state,post_code,res_logo,restaurant_name FROM c2g_restaurant as r WHERE 1 AND r.id= AND r.is_active='A'