php-doc-en/reference/ovrimos/reference.xml
2002-06-30 10:41:44 +00:00

70 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<reference id="ref.ovrimos">
<title>Ovrimos SQL functions</title>
<titleabbrev>OvrimosSQL</titleabbrev>
<partintro>
<para>
Ovrimos SQL Server, is a client/server, transactional RDBMS
combined with Web capabilities and fast transactions.
</para>
<para>
Ovrimos SQL Server is available at <ulink
url="&url.ovrimos;">www.ovrimos.com</ulink>. To enable ovrimos
support in PHP just compile PHP with the <option
role="configure">--with-ovrimos</option>
parameter to configure script. You'll need to install the sqlcli
library available in the Ovrimos SQL Server distribution.
</para>
<para>
<example>
<title>
Connect to Ovrimos SQL Server and select from a system table
</title>
<programlisting role="php">
<![CDATA[
<?php
$conn = ovrimos_connect ("server.domain.com", "8001", "admin", "password");
if ($conn != 0) {
echo ("Connection ok!");
$res = ovrimos_exec ($conn, "select table_id, table_name from sys.tables");
if ($res != 0) {
echo "Statement ok!";
ovrimos_result_all ($res);
ovrimos_free_result ($res);
}
ovrimos_close($conn);
}
?>
]]>
</programlisting>
</example>
This will just connect to an Ovrimos SQL server.
</para>
</partintro>
&reference.ovrimos.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->