PHP MySQL: Char and Varchar Data TypeTag: mysql, database, field, data type, char, varchar Category: PHP Databasepost: 28 Feb 2008 read: 1,507 php mysql basic step by step tutorial - part 5: Char() and Varchar() data type is the same in the principal but the amount of the memori requirement needs is different. The memory requirement needs for the type of char() data has the static character and the level of this need depends to the amount of character that is specified at the time of field declaration. Then, the level of the memory requirement needs of varchar() data type depends on how much the character weared plus 1 byte that is contain of the data of the amount of character weared. For further information, see the example below:
| |||||||||||||||||||||||||
| | Give Your Opinion | Recommend |
|

