PHP - MySQL (Original) - Manual PDF
PHP - MySQL (Original) - Manual PDF
Downloads
Documentation
Get Involved
Help
Search
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Errors
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
https://www.php.net/manual/en/book.mysql.php 1/5
4/13/2019 PHP: MySQL (Original) - Manual
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
gp
Previous man page
gn
Next man page
G
Scroll to bottom
gg
Scroll to top
gh
https://www.php.net/manual/en/book.mysql.php 2/5
4/13/2019 PHP: MySQL (Original) - Manual
Goto homepage
gs
Goto search
(current page)
/
Focus search box
Introduction »
« XSession::__construct
PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
MySQL
https://www.php.net/manual/en/book.mysql.php 3/5
4/13/2019 PHP: MySQL (Original) - Manual
add a note
define('DB_MAIN', 'localhost|user1|pa55word|db1');
class my_db{
(Phillipus - I don't know what nationality you are, but the word "moron" is pretty offensive
in UK English. Thank you)
add a note
MySQL
Overview of the MySQL PHP drivers
MySQLi
Mysql_xdevapi
MySQL (Original)
Mysqlnd
mysqlnd_ms
mysqlnd_qc
mysqlnd_uh
mysqlnd_mux
mysqlnd_memcache
https://www.php.net/manual/en/book.mysql.php 5/5