dams Thu May 10 09:56:54 2001 EDT
Modified files:
/phpdoc/en/functions fbsql.xml
Log:
?> -> ?> updated some prototypes.
Index: phpdoc/en/functions/fbsql.xml
diff -u phpdoc/en/functions/fbsql.xml:1.5 phpdoc/en/functions/fbsql.xml:1.6
--- phpdoc/en/functions/fbsql.xml:1.5 Thu May 10 01:20:37 2001
+++ phpdoc/en/functions/fbsql.xml Thu May 10 09:56:54 2001
@@ -121,7 +121,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>fbsql_change_user</function></funcdef>
+ <funcdef>resource <function>fbsql_change_user</function></funcdef>
<paramdef>string <parameter>user</parameter></paramdef>
<paramdef>string <parameter>password</parameter></paramdef>
<paramdef>string
@@ -187,7 +187,7 @@
or die ("Could not connect");
print ("Connected successfully");
fbsql_close ($link);
-?>
+?>
</programlisting>
</example>
<para>
@@ -302,7 +302,7 @@
} else {
printf("Error creating database: %s\n", fbsql_error ());
}
-?>
+?>
</programlisting>
</example>
<para>
@@ -367,7 +367,7 @@
}
fbsql_free_result ($result);
-?>
+?>
</programlisting>
</example>
</refsect1>
@@ -479,7 +479,7 @@
echo fbsql_errno().": ".fbsql_error()."<BR>";
$conn = fbsql_query("SELECT * FROM nonexistenttable");
echo fbsql_errno().": ".fbsql_error()."<BR>";
-?>
+?>
</programlisting>
</informalexample>
</para>
@@ -529,7 +529,7 @@
echo fbsql_errno().": ".fbsql_error()."<BR>";
$conn = fbsql_query("SELECT * FROM nonexistenttable");
echo fbsql_errno().": ".fbsql_error()."<BR>";
-?>
+?>
</programlisting>
</informalexample>
</para>
@@ -609,7 +609,7 @@
echo "fullname: ".$row[1]."<br>\n";
}
fbsql_free_result ($result);
-?>
+?>
</programlisting>
</example>
</refsect1>
@@ -668,7 +668,7 @@
echo $row["fullname"];
}
fbsql_free_result ($result);
-?>
+?>
</programlisting>
</example>
</refsect1>
@@ -759,7 +759,7 @@
$i++;
}
fbsql_free_result ($result);
-?>
+?>
</programlisting>
</example>
<para>
@@ -853,7 +853,7 @@
echo $row->fullname;
}
fbsql_free_result ($result);
-?>
+?>
</programlisting>
</example>
</para>
@@ -1020,7 +1020,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>fbsql_field_seek</function></funcdef>
+ <funcdef>bool <function>fbsql_field_seek</function></funcdef>
<paramdef>resource <parameter>result</parameter></paramdef>
<paramdef>int <parameter>field_offset</parameter></paramdef>
</funcprototype>
@@ -1107,7 +1107,7 @@
}
fbsql_close();
-?>
+?>
</programlisting>
</example>
</para>
@@ -1123,7 +1123,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>fbsql_free_result</function></funcdef>
+ <funcdef>bool <function>fbsql_free_result</function></funcdef>
<paramdef>int <parameter>result</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -1521,7 +1521,7 @@
<?php
$result = fbsql_query ("SELECT * WHERE 1=1")
or die ("Invalid query");
-?>
+?>
</programlisting>
</example>
</para>
@@ -1536,7 +1536,7 @@
<?php
$result = fbsql_query ("SELECT my_col FROM my_tbl")
or die ("Invalid query");
-?>
+?>
</programlisting>
</example>
</para>
@@ -1631,7 +1631,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>fbsql_select_db</function></funcdef>
+ <funcdef>resource <function>fbsql_select_db</function></funcdef>
<paramdef>string <parameter>database_name</parameter></paramdef>
<paramdef>resource
<parameter>
@@ -1703,7 +1703,7 @@
echo $tb_names[$i] . "<BR>";
$i++;
}
-?>
+?>
</programlisting>
</example>
</para>
@@ -1728,7 +1728,7 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns: <literal>TRUE</literal> if warnings is turned on otherwise
<literal>FALSE</literal>.
+ Returns <literal>TRUE</literal> if warnings is turned on otherwise
+<literal>FALSE</literal>.
</para>
<para>
<function>fbsql_warnings</function> enables or disables FrontBase