PHP: fbsql_error - Manual in Deutsh
PHP: fbsql_error - Manual in French
PHP: fbsql_error - Manual in Polish

You Are At PHP: fbsql_error - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

fbsql_error

(PHP 4 >= 4.0.6, PHP 5)

fbsql_error -- Returns the error message from previous operation

Description

string fbsql_error ( [resource link_identifier] )

Returns the error message from previous FrontBase operation.

Errors coming back from the fbsql database backend don't issue warnings. Instead, use fbsql_error() to retrieve the error text. Note that this function only returns the error code from the most recently executed fbsql function (not including fbsql_error() and fbsql_errno()), so if you want to use it, make sure you check the value before calling another fbsql function.

Parameters

link_identifier

A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect().

If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments

Return Values

Returns the error text from the last fbsql function, or '' (the empty string) if no error occurred.

Examples

Example 1. fbsql_error() Example

<?php
fbsql_connect
("marliesle");
echo
fbsql_errno() . ": " . fbsql_error() . "<br />";
fbsql_select_db("nonexistentdb");
echo
fbsql_errno() . ": " . fbsql_error() . "<br />";
$conn = fbsql_query("SELECT * FROM nonexistenttable;");
echo
fbsql_errno() . ": " . fbsql_error() . "<br />";
?>

See Also

fbsql_errno()
fbsql_warnings()

terapia uzależnień, wizy do rosji gdańsk, wizy do rosji, wizy do rosji, wizy do rosji gdańsk, mini gry, plomby plastikowe
Laserowe usuwanie owłosienia stomatologia karkonosze hotel gry hazardowe Tipsy akrylowe

Another Useful functions:


ref.fbsql | function.fbsql-warnings | function.fbsql-username | function.fbsql-tablename | function.fbsql-table-name | function.fbsql-stop-db | function.fbsql-start-db | function.fbsql-set-transaction | function.fbsql-set-password | function.fbsql-set-lob-mode | function.fbsql-set-characterset | function.fbsql-select-db | function.fbsql-rows-fetched | function.fbsql-rollback | function.fbsql-result | function.fbsql-read-clob | function.fbsql-read-blob | function.fbsql-query | function.fbsql-pconnect | function.fbsql-password | function.fbsql-num-rows | function.fbsql-num-fields | function.fbsql-next-result | function.fbsql-list-tables | function.fbsql-list-fields | function.fbsql-list-dbs | function.fbsql-insert-id | function.fbsql-hostname | function.fbsql-get-autostart-info | function.fbsql-free-result | function.fbsql-field-type | function.fbsql-field-table | function.fbsql-field-seek | function.fbsql-field-name | function.fbsql-field-len | function.fbsql-field-flags | function.fbsql-fetch-row | function.fbsql-fetch-object | function.fbsql-fetch-lengths | function.fbsql-fetch-field | function.fbsql-fetch-assoc | function.fbsql-fetch-array | function.fbsql-error | function.fbsql-errno | function.fbsql-drop-db | function.fbsql-db-status | function.fbsql-db-query | function.fbsql-database | function.fbsql-database-password | function.fbsql-data-seek | function.fbsql-create-db | function.fbsql-create-clob | function.fbsql-create-blob | function.fbsql-connect | function.fbsql-commit | function.fbsql-close | function.fbsql-clob-size | function.fbsql-change-user | function.fbsql-blob-size | function.fbsql-autocommit | function.fbsql-affected-rows |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.