RE: [PHP-DB] Re: mysql_fetch_array() doesn't work
| From: | Jason Wong | Date: | Sun, 30 Sep 2001 21:47:04 +0000 |
| Subject: | RE: [PHP-DB] Re: mysql_fetch_array() doesn't work | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12851@lists.php.net to get a copy of this message | ||
>-----Original Message-----
>From: Web user [mailto:random11@telekbird.com.cn]
>Sent: 30 September 2001 22:15
>To: php-db@lists.php.net
>Subject: [PHP-DB] Re: mysql_fetch_array() doesn't work
[snip]
>It only works when the $arr['user_id'] is out of the quotes.
>echo "<tr><td><a
>href=\"profile.php?id=".$arr['user_id']."\"
>target='_top'>";
>then IE showed no error any longer.
>
>So I have to let all $arr['key'] out of the quotes, then the scripts are
>Ok.
>
>Regards
>Mike
No need for quotes anyway:
$arr[key]
works just fine :)
regards
--
Jason Wong
Gremlins Associates
www.gremlins.com.hk
Tel: +852-2573-5033
Fax: +852-2573-5851