Re: mysql_fetch_array limit? - more details
| From: | Paul Worthington | Date: | Tue, 30 Jul 2002 18:15:44 +0000 |
| Subject: | Re: mysql_fetch_array limit? - more details | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20905@lists.php.net to get a copy of this message | ||
I am a bonehead. In stripping down my code for posting here, the problem
suddenly went away. I was building a temporary table and all this time I've
been overlooking the fact that my txtSWDesc1 field in the tmp table was set
to 255. My apologies to everyone. And thanks for trying to help me.
Paul
"Mark A. Roedel" <MarkRoedel@letu.edu> wrote in message
news:58A16084984A4245B7F352632BA8A1E815082C@tifb2.letnet.net...
> -----Original Message-----
> From: Paul Worthington [mailto:prw@evolving.com]
> Sent: Tuesday, July 30, 2002 9:34 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] mysql_fetch_array limit? - more details
>
>
> What happens is I'm only getting the first 256 characters of
> txtSWDesc1 displayed in my table. I am assuming the problem is in
> mysql_fetch_array(), that it must have some size limitation that
> truncates whatever data it has read to exactly 256 chars.
I'm a little curious about this assumption, given that I know I've
successfully used mysql_query() and mysql_fetch_array() on pieces of
data much bigger than that.
Does
echo strlen($myrow[txtSWDesc1]);
produce the output you'd expect?
---
Mark Roedel | "There is only one truly satisfying way
Systems Programmer | to boot a computer."
LeTourneau University |
Longview, Texas USA | -- J.H.Goldfuss