PHP MySQL 0000000001

Author: Zeeshan Arshad     1434     11/25/2010

Estimated reading time: 0 minutes, 9 seconds

Zeeshan Arshad - Lifestyle Blog

Problem: PHP page displays 0000000001 instead of 1 while reading int field from mysql table.

Solution: Remove unsigned zerofillon that int field.

Reason: That is because you added to that field attribute unsigned zerofill.

« Return to Blog