|
mysqli::use_resultmysqli_use_resultInitiate a result set retrieval BeschreibungObjektorientierter Stil
mysqli_result mysqli::use_result
( void
)
Prozeduraler Stil
mysqli_result mysqli_use_result
( mysqli
$link
)Used to initiate the retrieval of a result set from the last query executed using the mysqli_real_query function on the database connection. Either this or the mysqli_store_result function must be called before the results of a query can be retrieved, and one or the other must be called to prevent the next query on that database connection from failing.
Rückgabewerte
Returns an unbuffered result object or BeispieleBeispiel #1 mysqli::use_result example Objektorientierter Stil
<?phpProzeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe: my_user@localhost ----------------- Amersfoort Maastricht Dordrecht Leiden Haarlemmermeer Siehe auch
|