Re: HTML_Table size BUG ?
| From: | Bertrand Mansion | Date: | Thu, 20 Feb 2003 15:37:56 +0000 |
| Subject: | Re: HTML_Table size BUG ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3863@lists.php.net to get a copy of this message | ||
<qaxi@seznam.cz> wrote :
> error_reporting(E_ALL);
>
> I just try to write at begining of the script the above, but it stil
> silently dies ...
>
>
> Petr Klima
>
> nf-list@argo.no wrote:
>> On Thursday, February 20, 2003 1:12 PM [GMT+0100=CET],
>> Bertrand Mansion <bmansion@mamasam.com> wrote:
>>
>>
>>> <qaxi@seznam.cz> wrote :
>>>
>>>
>>>> hi
>>>>
>>>> I have to make large Html table. I use PEAR HTML_Table, but I found
>>>> that for bigger tables (cca. 30x1000 cells) the script just dies.
>>>> To awoid mistakes in My script I made souch test script.
>>>
>>> What do you mean 'dies' ?
>>
>>
>> I have had problems when tables require more memory,than php.ini's
>> memory_limit.
>> It's solved quite easy with ini_set("memory_limit",
>> "someMoreMemory");
>> (http://no2.php.net/ini-set)
>> But, with the right error_reporting you should be told that you have reached
>> the
>> limit, the script should not just die.
>>
>>
>>
>> Regards,
>> Nils-Fredrik
Must be a memory problem. If your goal is to echo 30000 table cells, you'd
better use echo '<td>'; instead of stuffing an object.
Bertrand Mansion
Mamasam