PDA

View Full Version : Which data type to use?



Andy128
04-01-2006, 10:50 PM
I am entering values in my form for the mysql database. The info that I have to input and then transfer via php method to database is as follows;

7-11 or 3-11 also, 12R or 12OT

What should I choose as the data type- Text, Char, VarChar, Blob ?????

What are the differences? I know if I am inputting a number it is Interger.

Please end my confusion?

Andy

navaldesign
04-02-2006, 07:11 AM
http://dev.mysql.com/doc/refman/4.1/en/char.html

Andy128
04-02-2006, 11:26 PM
Thanks naveldesign! You're a walking encyclopedia!

Andy

VodaHost
04-03-2006, 12:36 PM
thread closed