Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

sqlite_fetch_column_types

(PHP 5)

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

Описание

resource sqlite_fetch_column_types ( string table_name, resource db )

Внимание

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



sqlite_fetch_object> <sqlite_fetch_array
Last updated: Fri, 26 Jan 2007
 
add a note 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

sqlite_fetch_object> <sqlite_fetch_array
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571