vinpkl Posted August 30, 2009 Share Posted August 30, 2009 hi all i have set my phone number database field as int. if i enter 0123456 then in the database it gets enter as 123456 leaving 0. vineet Link to comment https://forums.phpfreaks.com/topic/172453-solved-int-doesnt-accepts-0/ Share on other sites More sharing options...
trq Posted August 30, 2009 Share Posted August 30, 2009 A phone number should likely be stored as a varchar. Link to comment https://forums.phpfreaks.com/topic/172453-solved-int-doesnt-accepts-0/#findComment-909182 Share on other sites More sharing options...
vinpkl Posted August 30, 2009 Author Share Posted August 30, 2009 A phone number should likely be stored as a varchar. hi thorpe thanks for the reply. it works fine now. vineet Link to comment https://forums.phpfreaks.com/topic/172453-solved-int-doesnt-accepts-0/#findComment-909187 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.