I should have mentioned that there is an example for mysql in the
documentation: http://www.php.net/manual/en/mysql.examples-basic.php. It is
the simplest interface, but it is not object-oriented. Mysqli can be used
either as procedures or as objects.
The differences between mysql, mysqli, and PDO are on page
Global Information Incorporated
195 Farmington Ave.
Farmington, CT 06032
860.674.8796 / FAX: 860.674.8341
Web site: www.giiresearch.com
>From: valery-christian [mailto:valechris2001@stripped]
>Sent: Wednesday, September 21, 2011 8:17 AM
>Subject: asking question
>the meaning of Warning: mysql_fetch_array(): supplied argument is not a valid
>MySQL result resource in C:\Program Files\EasyPHP 2.0b1\www\memo3\index.php