Wh1t3projects' PHP framework. Small PHP framework for building web apps and websites
Syntax: SQL_resid([object $link])
Get or set the SQL ressource identifier.
Parameters
Optional $link
The new ressource identifier to use by default.
Return values
If $link is not provided, the current ressource identifier is returned. If it is provided, the status of the session on the remote server will be verified. If the verification fail, FALSE
will be returned and the current ressource ID will be kept. Otherwise, TRUE
will be returned.
Examples:
Get the current ressource identifier and assign it to the resid
variable
$resid = SQL_resid();
Set a new ressource identifier
SQL_resid($newResID)