Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites
row, or FALSE when no rows remain. Compare this function to pg_fetch_array and pg_fetch_row. <? //connect to database if(!($C ...
//create query $Query = "SELECT * "; $Query .= "FROM item"; //execute query if(!($Result = pg_exec($Connection, $Query))) { prin ...
<? print(pg_fieldprtlen($Result, $Row, 2)); ?> integer pg_fieldsize(integer result, string field) The pg_fieldsize functio ...
The pg_host function returns the name of the host for the connection. See pg_exec for an example of use. pg_loclose(integer file ...
The pg_loreadall function reads an entire large object and sends it directly to the browser. <? $File = pg_loopen($Connection ...
The pg_options function returns the options used when the connection was opened. See pg_exec for an example of use. integer pg_p ...
mssql_connect mssql_data_seek mssql_fetch_array mssql_fetch_field mssql_fetch_object mssql_fetch_row mssql_field_length mssql_fi ...
determining the number of rows returned by a select statement. Also, this function is available only when using Client-Library. ...
<? //move to sixth row sybase_data_seek($Result, 5); ?> array sybase_fetch_array(integer result) The sybase_fetch_array fu ...
contains the properties described in Table 13.12. See sybase_result for an example of use. object sybase_fetch_object(integer re ...
gets the next row in the result set, or returns FALSE if no rows remain. Compare this function to sybase_fetch_array and sybase_ ...
The sybase_free_result function frees memory associated with a result set. It is not strictly necessary to call this function. A ...
integer sybase_pconnect(string server, string username, string password) The sybase_pconnect function is identical to sybase_con ...
} // data rows $Rows = sybase_num_rows($Result); for($n = 0; $n < $Rows; $n++) { print("\n"); for($i = 0; $i < $Fields; $i ...
Chapter 14. MISCELLANEOUS FUNCTIONS Apache Aspell............................................................................... ...
object apache_lookup_uri(string uri) The apache_lookup_uri function evaluates a URI, or Universal Resource Identifier, and retur ...
string apache_note(string name, string value) The apache_note function allows you to fetch and set values in Apache's note table ...
apache_note("session_id", $session_id); ?> array getallheaders() The getallheaders function returns every header sent by both ...
...
boolean virtual(string filename) The virtual function is available only when PHP is an Apache module. It is equivalent to writin ...
«
18
19
20
21
22
23
24
25
26
27
»
Free download pdf