Remove leading zeros


/ Published in: PHP
Save to your folder(s)

use to remove leading zeros from a db field


Copy this code and paste it in your HTML
  1. $id = ereg_replace("^0+","",$row['id']);

URL: http://www.barattalo.it/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.