Table of Contents
valentina_close()
Declaration
bool valentina_close ( [resource link_identified] )
Parameters
Name | Description |
---|---|
link_identifier | Identifier of a Valentina Server connection to close. If not specified, closes the last opened by valentina_connect(). |
Description
Closes the connection to the Valentina Server.
Return Values
Returns TRUE on success, or FALSE on failure.
Examples
Example
<?php $link = valentina_connect('localhost', 'val_user', 'val_password'); if (!$link) { die('Could not connect: ' . valentina_error()); } echo 'Connected successfully'; valentina_close($link); ?>