Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5199613
Hits Heute: 310
max. Hits (10.07.07): 6964
User Online: 34
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

Nitty Gritty ASP.NET
Nitty Gritty ASP.NET

Manuals > PEAR > DB_Common::getCol()

DB_Common::getCol()

DB_Common::getCol() -- Fetch a single column

Description

Fetch a single column from a result set of a query. The function takes care of doing the query and freeing the results when finished.

Parameter

string $query

the SQL query

mixed $col

which column to return (integer [column number, starting at 0] or string [column name])

array $params

if supplied, prepare()/ execute() will be used with this array as execute parameters

Return value

array - the first row of results as an array indexed from 0 or a DB_Error, if fail

Note

This function can not be called statically.


Copyright 1998 - 2009 by I.S.U.M.