Name

mysql_result

Synopsis

$result_string = msql_result($result, $i, $field);
$result_string = mysql_result($result, $I, $field);

Returns an entry from the field field in the ith row of result. The argument field is the name of the field column and can be specified as table.field for results that involved joined tables. Any MySQL internal functions which can affect SELECT results can be included in the field argument, for instance, mysql_result $result, $i,"length($field)").

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.