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 '' at line 3

SELECT * FROM ci_voting_counter INNER JOIN ci_voting ON ci_voting_counter.v_voting_id = ci_voting.dv_id WHERE dv_id=

Filename: models/Model_utama.php

Line Number: 445