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.
Returns the string contents of the field, FALSE on error, NULL for NULL data, or TRUE for binary data.
field can either be an integer containing
the column number of the field you want; or it can be a string
containing the name of the field. For example:
The first call to odbc_result() returns the value of the third field in the current record of the query result. The second function call to odbc_result() returns the value of the field whose field name is "val" in the current record of the query result. An error occurs if a column number parameter for a field is less than one or exceeds the number of columns (or fields) in the current record. Similarly, an error occurs if a field with a name that is not one of the fieldnames of the table(s) that is(are) being queried.
Field indices start from 1. Regarding the way binary or long column data is returned refer to odbc_binmode() and odbc_longreadlen().
Another Useful functions:
function.odbc-tables | function.odbc-tableprivileges | function.odbc-statistics | function.odbc-specialcolumns | function.odbc-setoption | function.odbc-rollback | function.odbc-result | function.odbc-result-all | function.odbc-procedures | function.odbc-procedurecolumns | function.odbc-primarykeys | function.odbc-prepare | function.odbc-pconnect | function.odbc-num-rows | function.odbc-num-fields | function.odbc-next-result | function.odbc-longreadlen | function.odbc-gettypeinfo | function.odbc-free-result | function.odbc-foreignkeys | function.odbc-field-type | function.odbc-field-scale | function.odbc-field-precision | function.odbc-field-num | function.odbc-field-name | function.odbc-field-len | function.odbc-fetch-row | function.odbc-fetch-object | function.odbc-fetch-into | function.odbc-fetch-array | function.odbc-execute | function.odbc-exec | function.odbc-errormsg | function.odbc-error | function.odbc-do | function.odbc-data-source | function.odbc-cursor | function.odbc-connect | function.odbc-commit | function.odbc-columns | function.odbc-columnprivileges | function.odbc-close | function.odbc-close-all | function.odbc-binmode | function.odbc-autocommit |
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.