gregson09
11-30-2006, 11:29 AM
Hello there,
I often run queries which return a result set consisting of a table with just one column. Up until now I have been using fetching results like this...
$row = mysqli_fetch_row( $result );
$id = $row[0];
Is there a better way to be doing this when there is only one column in the result data set?
Thanks very much for your help!
Keith
I often run queries which return a result set consisting of a table with just one column. Up until now I have been using fetching results like this...
$row = mysqli_fetch_row( $result );
$id = $row[0];
Is there a better way to be doing this when there is only one column in the result data set?
Thanks very much for your help!
Keith