Mysql_fetch_array help from a newbie ...
| From: | Corrado Topi | Date: | Tue, 04 Jul 2000 12:45:00 +0000 |
| Subject: | Mysql_fetch_array help from a newbie ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4732@lists.php.net to get a copy of this message | ||
Hya all!!
I am jus a newbie, as you know ....
Sorry for bothering, but i have written this code:
$link = mysql_connect ();
$result = mysql_db_query ("invotti","SELECT * FROM classi");
$row = mysql_fetch_array($result);
and when i try to access from outside by means of a web browser i get
the following error
Warning: Supplied argument is not a valid MySQL result resource in
/home/httpd/html/webserver01/investimentoottimale/form.php on line 18
the damned worng line is the line
$row = mysql_fetch_array($result);
the name of the db is invotti, and the name of the table is classi.
could be an autorizathion problem??
Let me now, please ...
--
Dr. Corrado Topi
Responsabile Sezione Progetti Speciali
Elbi International S.p.A. - Gruppo Bitron
Via De Amicis, 78
10093 Collegno, TO, Italy
Ph: + 39 0114102 544
Fax: + 39 0114102 265