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 Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.