A PHP Error was encountered

Severity: Warning

Message: Missing argument 3 for video::detalii()

Filename: controllers/video.php

Line Number: 127

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: controllers/video.php

Line Number: 150

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 idcateg=categsmovies.id ORDER BY `video`.`ord` ASC' at line 3

SELECT `video`.`id` as id, `idcateg`, `title_ro` as title, `annotation_ro` as annotation, `description_ro` as description, `poza`, `filename`, `numecateg_ro` as numecateg FROM (`video`, `categsmovies`) WHERE video.id= AND idcateg=categsmovies.id ORDER BY `video`.`ord` ASC