A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Eshop::produkt()

Filename: controllers/eshop.php

Line Number: 172

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: controllers/eshop.php

Line Number: 174

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 id ASC' at line 1

SELECT * FROM fotos WHERE product_id = ORDER by id ASC