Trunkated zeros..... how to fix?

From: Date: Wed, 05 Sep 2001 18:50:27 +0000
Subject: Trunkated zeros..... how to fix?
Groups: php.general 
Request: Send a blank email to php-general+get-66058@lists.php.net to get a copy of this message
I am having the problem that Mysql is truncating the zeros from both the int and char fields when I try to insert.... How can I fix this..... example: 0123 in PHP = 123 in mysql 3210 in PHP = 321 in mysql but I need that zero.... how do I keep mysql from doing this?

« previous php.general (#66058) next »