cubrid_fetch_object
Returns an object with the column names
&reftitle.description;
objectcubrid_fetch_object
resourceresult
stringclass_name
arrayparams
This function returns an object with the column names of the result set as properties. The values of these properties are extracted from the current row of the result.
&reftitle.parameters;
result
result comes from a call to cubrid_execute
class_name
The name of the class to instantiate, set the properties of and return.
If not specified, a stdClass object is returned.
params
An optional array of parameters to pass to the constructor
for class_name objects.
&reftitle.returnvalues;
An object, when process is successful.
&false; on failure.
&reftitle.examples;
cubrid_fetch_object example
name."
";
echo $row->address."
";
echo $row->salary;
cubrid_close_request($result);
}
?>
]]>
&example.outputs;