Help - Search - Members - Calendar
Full Version: Problem Storing Data In Mysql Database
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
pzymic
Hi Guys,

I am a beginner in PHP programming. I developed a registration system where I had to store Phone number of the users.
I am trying to store phone number in the format 555-555-5555. But, some garbage value(-2084) is getting inserted in my database.

I am using Wamp server 2.0- mysql version 5.0.
This is how my phone field is -
Phone Varchar(20) latin1_swedish_ci not null

Please help !

NaRzY
You need to paste some kind of source before anyone can actually help you. Include errors, files, etc. that helps it.
pzymic
Sorry for the incomplete information.. but I fixed it myself..
thanks !!



QUOTE(NaRzY @ Oct 10 2009, 10:56 AM) *
You need to paste some kind of source before anyone can actually help you. Include errors, files, etc. that helps it.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.