Lines Matching refs:result
17 $result = pg_query($db, "SELECT * FROM ".$table_name.";");
18 if (!($rows = pg_num_rows($result)))
24 pg_fetch_array($result, $i, PGSQL_NUM);
28 pg_fetch_object($result);
32 pg_fetch_row($result, $i);
36 pg_fetch_result($result, $i, 0);
40 pg_fetch_result($result, 0, -1);
45 pg_fetch_result($result, 0, 3);
50 pg_fetch_result($result, 0, "unknown");
55 pg_fetch_all_columns($result, -1);
60 pg_fetch_all_columns($result, 3);
65 pg_result_error($result);
67 pg_result_error_field($result, PGSQL_DIAG_SEVERITY);
68 pg_result_error_field($result, PGSQL_DIAG_SQLSTATE);
69 pg_result_error_field($result, PGSQL_DIAG_MESSAGE_PRIMARY);
70 pg_result_error_field($result, PGSQL_DIAG_MESSAGE_DETAIL);
71 pg_result_error_field($result, PGSQL_DIAG_MESSAGE_HINT);
72 pg_result_error_field($result, PGSQL_DIAG_STATEMENT_POSITION);
75 pg_result_error_field($result, PGSQL_DIAG_INTERNAL_POSITION);
79 pg_result_error_field($result, PGSQL_DIAG_INTERNAL_QUERY);
81 pg_result_error_field($result, PGSQL_DIAG_CONTEXT);
82 pg_result_error_field($result, PGSQL_DIAG_SOURCE_FILE);
83 pg_result_error_field($result, PGSQL_DIAG_SOURCE_LINE);
84 pg_result_error_field($result, PGSQL_DIAG_SOURCE_FUNCTION);
88 pg_field_name($result, 0);
89 pg_field_num($result, "num");
90 pg_field_size($result, 0);
91 pg_field_type($result, 0);
92 pg_field_prtlen($result, null, 0);
93 pg_field_is_null($result, null, 0);
96 pg_field_is_null($result, null, -1);
101 pg_field_is_null($result, null, 3);
106 pg_field_is_null($result, null, "unknown");
111 pg_field_name($result, -1);
116 pg_field_name($result, 3);
121 pg_field_table($result, -1);
126 pg_field_table($result, 3);
131 $result = pg_query($db, "INSERT INTO ".$table_name." VALUES (9999, 'ABC');");
132 pg_last_oid($result);
133 var_dump(pg_fetch_all($result));
135 pg_free_result($result);
150 Argument #3 must be less than the number of fields for this result set
151 Argument #3 must be a field name from this result set
153 pg_fetch_all_columns(): Argument #2 ($field) must be less than the number of fields for this result…
155 Argument #3 must be less than the number of fields for this result set
156 Argument #3 must be a field name from this result set
158 pg_field_name(): Argument #2 ($field) must be less than the number of fields for this result set
160 pg_field_table(): Argument #2 ($field) must be less than the number of fields for this result set