Judgment shall be entered in each and every case of guilty or not guilty of the offense charged, and by the judgment the defendant shall be discharged, fined or imprisoned, or fined and imprisoned as the case may be. Where judgment of guilty shall be entered in any case before him requiring confinement in the municipal jail, the municipal judge shall issue a commitment against the defendant commanding the chief of police of the city to commit the defendant to the city jail, all in accordance with the terms of the judgment and ordinances of the city. (Prior code § 5-2-11)