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
http://www.php.net/manual/en/mysqli.overview.php.
Regards,
Jerry Schwartz
Global Information Incorporated
195 Farmington Ave.
Farmington, CT 06032
860.674.8796 / FAX: 860.674.8341
E-mail: jerry@stripped
Web site: www.giiresearch.com
>-----Original Message-----
>From: valery-christian [mailto:valechris2001@stripped]
>Sent: Wednesday, September 21, 2011 8:17 AM
>To: mysql@stripped
>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
>on
>line 64