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: 5197583
Hits Heute: 622
max. Hits (10.07.07): 6964
User Online: 32
Scripts: 2828

[ Partner ]

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

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

Kompakt im Doppelpack: HTML und JavaScript. Webdesign für Einsteiger
Kompakt im Doppelpack: HTML und JavaScript. Webdesign für Einsteiger

Manuals > PEAR > DB_Common::getRow()

DB_Common::getRow()

DB_Common::getRow() -- fetch the first row

Description

Fetch the first row of data returned from a query. The function takes care of doing the query and freeing the results when finished.

Parameter

string $query

the SQL query

array $params

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

integer $fetchmode

the fetch mode to use, default is DB_FETCHMODE_DEFAULT

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.