PHP MySQL 0000000001

Author: Zeeshan Arshad     1059     11/25/2010

Estimated reading time: 0 minutes, 9 seconds

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.


Was this topic helpful?

Yes
No
Subscribe YouTube Channel

Zeeshan Arshad is a self-taught and multi-dimensional person with extraordinary track record of success with international clients and students.

Feel free to contact him for your project, training purpose or guidance.