Errore del database

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 pagine.stato = 1 and menu.id=pagine.id' at line 1

select *, menu.id as idpagina from pagine, menu where id_menu= and pagine.stato = 1 and menu.id=pagine.id

Filename: models/Pagine_model.php

Line Number: 14