Returns number of rows (tuples) affected by the last INSERT, UPDATE or DELETE query associated with link_identifier.
Closes the non-persistent connection to a database associated with the given connection resource.
Open a connection to a PostgreSQL Server and select a database.
Returns the text of the error message from previous database operation
Fetch a result row as an associative and numeric array.
Get the ID generated from the previous INSERT operation
Get number of rows in result.
Sends a query to the currently active database on the server that's associated with the specified link identifier.
NOTE: Convert MySQL RAND() function to PostgreSQL RANDOM() on ORDER BY clause of selection queries.