Re: [PHP4BETA] lates libzend update did bad things
| From: | Bate | Date: | Fri, 03 Sep 1999 09:07:54 +0000 |
| Subject: | Re: [PHP4BETA] lates libzend update did bad things | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4020@lists.php.net to get a copy of this message | ||
> <?
> $conn=mysql_connect("127.0.0.1");
>
> for ($inx = 0; $inx < 10; $inx++) {
> $r = mysql_db_query("test", "select * from phptest");
> $array = mysql_fetch_array(&$r); //???????
$array = mysql_fetch_array($r);
> // mysql_free_result($r);
> }
> echo "-----------------------end--------------\n";flush();
> ?>
>
> used to work - now says:
> PHP Warning: 2 is not a MySQL result index in mysql.php3 on line 6
> ....
>
Bate