Witnesses in criminal cases shall be allowed the same compensation as in civil cases, but the prosecutor shall not be allowed compensation as a witness, nor shall any person be allowed for his attendance as a witness in more than one criminal case on the same day. The compensation of witnesses on behalf of the state shall be allowed in open court, the order therefor entered upon the minutes, and a certificate of same shall be delivered to the party entitled thereto. Said certificate shall be negotiable and shall be paid by the county treasurer of the county in which the offense was committed upon presentation by the payee or the holder in due course. The clerk shall keep an account of all such certificates and shall tax the amount thereof in the bill of costs if the defendant shall be sentenced to pay the costs and, when collected, the same shall be paid into the county treasury. A witness shall not receive compensation for attendance before the grand jury.
Miss. Code § 25-7-57