<p>In the standard mode of the [[Language BindingsClients]], a database command can be
sent to the server using the <code>execute()</code> function
of the <code>Session</code>. This functions returns the whole
# Continue using the client (back to 2.), or close the session.
==Example in [https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/php/ PHP]==
Taken from our [https://github.com/BaseXdb/basex/blob/master/basex-api/src/main/php/Example.php repository]: <pre classlang="brush:php">
<?php
/*
* Documentation: http://basex.org/api
*
* (C) BaseX Team 2005-1115, ISC BSD License
*/
include("BaseXClient.php");
// create session
$session = new Session("localhost", 1984, "admin", "admin...");
// perform command and print returned string
?>
</pre>
[[Category:Developer]]
[[Category:Server]]
[[Category:Bindings]]