Results for ocifetchstatement translation from English to Chinese (Simplified)

Human contributions

From professional translators, enterprises, web pages and freely available translation repositories.

Add a translation

English

Chinese (Simplified)

Info

English

ocifetchstatement

Chinese (Simplified)

瞰赽 1. ocifetchstatement

Last Update: 2011-10-24
Usage Frequency: 1
Quality:

English

ocifetchstatement() fetches all the rows from a result into a user-defined array.

Chinese (Simplified)

description

Last Update: 2011-10-24
Usage Frequency: 1
Quality:

English

?php / * ocifetchstatement example mbritton@verinet.com (990624) * / $conn = ocilogon("scott" ,"tiger"); $stmt = ociparse($conn ,"select * from emp"); ociexecute($stmt); $nrows = ocifetchstatement($stmt,$results); if ($nrows 0) {print "table border=\"1\" \n"; print "tr \n"; while (list ($key, $val) = each ($results)) {print" th $key / th \n";} print "/ tr \n"; for ($i = 0; $i $nrows; $i+ +) {reset($results); print" tr \n"; while ($column = each($results)) {$data = $column['value']; print "td $data[$i] / td \n";} print" / tr \n";} print "/ table \n";} else {echo "no data found br \n";} print "$nrows records selected br \n"; ocifreestatement($stmt); ocilogoff($conn);?

Chinese (Simplified)

?php /* ocifetchstatement example mbritton@verinet.com (990624) */ $conn = ocilogon("scott","tiger"); $stmt = ociparse($conn,"select * from emp"); ociexecute($stmt); $nrows = ocifetchstatement($stmt,$results); if ($nrows 0) {print "table border=\"1\" \n"; print" tr \n"; while (list( $key, $val) = each( $results)) {print "th $key /th \n";} print" /tr \n"; for ($i = 0; $i $nrows; $i++) {reset($results); print "tr \n"; while ($column = each($results)) {$data = $column['value']; print" td $data[$i] /td \n";} print "/tr \n";} print" /table \n";} else {echo "no data found br \n";} print "$nrows records selected br \n"; ocifreestatement($stmt); ocilogoff($conn);?

Last Update: 2011-10-24
Usage Frequency: 1
Quality:

Warning: Contains invisible HTML formatting

Get a better translation with
8,934,709,148 human contributions

Users are now asking for help:



We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. Learn more. OK