What's the number scheme for 'colno' for Select call in PDO driver

From: Date: Fri, 11 Sep 2009 12:57:00 +0000
Subject: What's the number scheme for 'colno' for Select call in PDO driver
Groups: php.db 
Request: Send a blank email to php-db+get-46482@lists.php.net to get a copy of this message
Hi, In the implemetation of Pdo-driver (extension) , what's the Sequence/Index scheme for parameter: 'colno' ? This param 'colno' is input in driver calls (of PDO statement) : int SKEL_stmt_describe_col(pdo_stmt_t *stmt, int colno TSRMLS_DC) int SKEL_stmt_get_col_data(pdo_stmt_t *stmt, int colno, ...) e.g If the script has cmds: Insert into Table test1(col1 int, col2 string, col3 real) SELECT col2,col3 from test1; The driver would which values for colno ? -sanjeev

« previous php.db (#46482) next »