note 8693 added to mysql_result

From: Date: Sun, 24 Sep 2000 15:38:31 +0000
Subject: note 8693 added to mysql_result
Groups: php.notes 
Request: Send a blank email to php-notes+get-5409@lists.php.net to get a copy of this message
Why? It's pretty much self-explanitory. It returns a single "cell." You specify the row offset, and the column, and you get 1 value back. Usually you'll use something like mysql_fetch_array because you'll be interested in more than 1 cell at a time and it's inefficient to make multiple calls back and forth to the database. Make 1 call (fetch_arry/fetch_object) and then load from that result data. -Szii http://www.php.net/manual/function.mysql-result.php

« previous php.notes (#5409) next »