A PHP Error was encountered

Severity: Notice

Message: Undefined index: name

Filename: controllers/news.php

Line Number: 55

A PHP Error was encountered

Severity: Notice

Message: Undefined index: name

Filename: controllers/news.php

Line Number: 56

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/news.php

Line Number: 60

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 'ORDER BY date DESC LIMIT 10000' at line 1

SELECT * FROM news WHERE category_id = ORDER BY date DESC LIMIT 10000

Filename: /var/www/vhosts/amtekplastics.co.uk/httpdocs/models/news_model.php

Line Number: 34