The cubrid_result function retrieves the contents of one cell from a CUBRID result set on success, or FALSE on failure.
When working on large result sets, you should consider using one of the functions that fetch an entire row. As these functions return the contents of multiple cells in one function call, they're MUCH quicker than cubrid_result(). Also, note that specifying a numeric offset for the field argument is much quicker than specifying a fieldname or tablename.fieldname argument.
string cubrid_result ( resource $result , int $row [, mixed $field= 0 ] )
$conn = cubrid_connect("localhost", 33000, "demodb");
$req = cubrid_execute($conn, "SELECT * FROM code");
$result = cubrid_result($req, 0);
$result = cubrid_result($req, 0, 1);
$result = cubrid_result($req, 5, "f_name");
The above example will output: