Darmowe gry java - konta bankowe - Opisy GG - Modelki - Golf 3 - Serwery dedykowane - Gadu Gadu - zaparcia - Kołobrzeg - autozłom

Bezpłatny kurs programowania w PHP.

Krok po koroku, pełna dokumentacja w języku polskim. Skrypty napisane w PHP są z reguły umieszczane w dokumentach tekstowych (często razem z HTML lub XHTML). Dzięki temu PHP jest podobny w założeniach do dużo starszego mechanizmu Server Side Includes[4]. PHP pozwala także na wykonywanie skryptów z linii poleceń podobnie jak Perl i Python. Jego modułowa budowa udostępnia również możliwość programowania aplikacji z interfejsem graficznym. PHP umożliwia współpracę z wieloma rodzajami źródeł danych, jak na przykład serwery relacyjnych baz danych, pliki tekstowe czy dokumenty XML.

ingres_errno

ingres_errno

(PECL)

ingres_errno -- Gets the last ingres error number generated

Description

int ingres_errno ( [resource link] )

Returns an integer containing the last error number. If no error was reported 0 is returned.

If a link resource is passed to ingres_errno() it returns the last error recorded for the link. If no link is passed then ingres_errno() returns the last error reported using the default link.

The function, ingres_errno(), should always be called after executing a database query. Calling another function before ingres_errno() is called, will reset or change any error code from the last Ingres function call.

Przykład 1. ingres_errno() example

<?php
$link
= ingres_connect($database, $user, $password);

ingres_query("select * from table", $link);

$error_code = ingres_errno($link);

if (
$error_code != 0 ) {
   echo
"An error occured - " . $error_code;
}
?>

See also ingres_error() and ingres_errsqlstate().

php

kontakt:praca.pozycjonowanie@gmail.com

Design by flankerds
wakacje chorwacja oferty sylwestrowe Cialis hotels 1