Every ordinance or resolution passed by the council shall be signed by the chairman or two members, filed with the clerk within two days, and shall be recorded by him.