PHP: sqlite_fetch_column_types - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sqlite_fetch_object sqlite_fetch_array

Last updated: Fri, 26 Jan 2007

view this page in

# sqlite_fetch_column_types

(PHP 5)

sqlite_fetch_column_types -- Возвращает массив, содержащий информацию о типах полей в таблице

## Описание

resource sqlite_fetch_column_types ( string table_name, resource db )

Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

add a note User Contributed Notes
sqlite_fetch_column_types
enthusiast
06-Mar-2005 08:19
`If I (OO version) try to add the contant SQLITE_ASSOC, (exactly as listed in the above example) it generates the following error:
SQLiteDatabase::fetchColumnTypes() expects exactly 1 parameter, 2 given in C:\....
If I remove it completely, it returns the associative array I expected.`
10-Jan-2005 03:01
`The problem with the permanently locked database file when using this function still seems to exist in PHP 5.0.3 (tested on win32).
However, you can get all the information you need about the fields of a table by using this query:
PRAGMA table_info(name_of_your_table);`
hugo_pl at users dot sourceforge dot net
17-Aug-2004 09:55
`This function, and the OO version, is bugged in PHP <= 5.0.1, locking the database until you restart the webserver.
http://bugs.php.net/bug.php?id=29476`
add a note
sqlite_fetch_object sqlite_fetch_array

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST