RE: asking question

2011-09-21 Thread Jerry Schwartz
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

RE: asking question

2011-09-21 Thread Jerry Schwartz
It is important to call all of the MySQL functions in the right order. It is very easy to skip one if you are just learning. I'm not going to give you the exact function calls, because there are several sets. Pick a set (PDO works with different databases, so it is most portable) and then keep t

Re: asking question

2011-09-21 Thread Reindl Harald
your variable is not the result of mysql_query() empty, contains something else or whatever Am 21.09.2011 14:16, schrieb valery-christian: > 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