ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:charmax

charMax

Description

The method charMax() returns an integer, describing the maximum length of data that can be inserted into a field with metaType C.

Usage

/*
 * Assume MySQL database
 */
$i = $db->charMax();
 
/*
 * Returns: 255;
*/
v5/reference/connection/charmax.txt · Last modified: 2016/02/28 17:27 by mnewnham