mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Retitled examples
added version availability git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46963 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6a4348d54e
commit
db0202b8e3
1 changed files with 14 additions and 12 deletions
|
@ -23,7 +23,9 @@
|
|||
Documentation for FrontBase can be found at <ulink
|
||||
url="&url.fbsql.docs;">&url.fbsql.docs;</ulink>.
|
||||
</simpara>
|
||||
|
||||
<simpara>
|
||||
Frontbase support has been added to PHP 4.0.6.
|
||||
</simpara>
|
||||
</partintro>
|
||||
|
||||
<refentry id="function.fbsql-affected-rows">
|
||||
|
@ -177,7 +179,7 @@
|
|||
<note>
|
||||
</note>
|
||||
<example>
|
||||
<title>FrontBase close example</title>
|
||||
<title><function>fbsql_close</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$link = fbsql_connect ("localhost", "_SYSTEM", "secret")
|
||||
|
@ -245,7 +247,7 @@
|
|||
<function>fbsql_close</function>.
|
||||
</para>
|
||||
<example>
|
||||
<title>FrontBase connect example</title>
|
||||
<title><function>fbsql_connect</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
|
||||
|
@ -288,7 +290,7 @@
|
|||
identifier.
|
||||
</para>
|
||||
<example>
|
||||
<title>FrontBase create database example</title>
|
||||
<title><function>fbsql_create_db</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$link = fbsql_pconnect ("localhost", "_SYSTEM", "secret")
|
||||
|
@ -335,7 +337,7 @@
|
|||
</para>
|
||||
|
||||
<example>
|
||||
<title>FrontBase data seek example</title>
|
||||
<title><function>fbsql_data_seek</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$link = fbsql_pconnect ("localhost", "_SYSTEM", "secret")
|
||||
|
@ -593,7 +595,7 @@ select t1.f1 as foo t2.f1 as bar from t1, t2
|
|||
<function>fbsql_fetch_row</function> and <function>fbsql_fetch_assoc</function>.
|
||||
</para>
|
||||
<example>
|
||||
<title><function>fbsql_fetch_array</function></title>
|
||||
<title><function>fbsql_fetch_array</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
fbsql_connect ($host, $user, $password);
|
||||
|
@ -654,7 +656,7 @@ fbsql_free_result ($result);
|
|||
<function>fbsql_fetch_row</function> and <function>fbsql_fetch_array</function>.
|
||||
</para>
|
||||
<example>
|
||||
<title><function>fbsql_fetch_assoc</function></title>
|
||||
<title><function>fbsql_fetch_assoc</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
fbsql_connect ($host, $user, $password);
|
||||
|
@ -730,7 +732,7 @@ fbsql_free_result ($result);
|
|||
</itemizedlist>
|
||||
</para>
|
||||
<example>
|
||||
<title><function>fbsql_fetch_field</function></title>
|
||||
<title><function>fbsql_fetch_field</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
fbsql_connect ($host, $user, $password)
|
||||
|
@ -1082,7 +1084,7 @@ password
|
|||
detailed in the <ulink url="&url.fbsql.docs;">FrontBase
|
||||
documentation</ulink>.
|
||||
<example>
|
||||
<title>fbsql field types</title>
|
||||
<title><function>fbsql_field_type</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
|
||||
|
@ -1522,7 +1524,7 @@ echo "$num_rows Rows\n";
|
|||
The following query is syntactically invalid, so
|
||||
<function>fbsql_query</function> fails and returns <literal>FALSE</literal>:
|
||||
<example>
|
||||
<title><function>fbsql_query</function></title>
|
||||
<title><function>fbsql_query</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$result = fbsql_query ("SELECT * WHERE 1=1")
|
||||
|
@ -1537,7 +1539,7 @@ $result = fbsql_query ("SELECT * WHERE 1=1")
|
|||
<literal>my_tbl</literal>, so <function>fbsql_query</function>
|
||||
fails and returns <literal>FALSE</literal>:
|
||||
<example>
|
||||
<title><function>fbsql_query</function></title>
|
||||
<title><function>fbsql_query</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$result = fbsql_query ("SELECT my_col FROM my_tbl")
|
||||
|
@ -1690,7 +1692,7 @@ $result = fbsql_query ("SELECT my_col FROM my_tbl")
|
|||
<function>fbsql_num_rows</function> function may be used to
|
||||
determine the number of tables in the result pointer.
|
||||
<example>
|
||||
<title><function>fbsql_tablename</function> Example</title>
|
||||
<title><function>fbsql_tablename</function> example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
fbsql_connect ("localhost:3306");
|
||||
|
|
Loading…
Reference in a new issue