Paul Vriens wrote:
> Hi,
>
> Attached is patch (proof of concept !) that put's the results for one of
> the
> charts in the database and only transfers the id of the table-entry to
> bargraph.pl.
>
> Remember that you have to create the table:
>
> CREATE TABLE `Results` (`id` int(10) unsigned NOT NULL auto_increment,
> `data`
> text, PRIMARY KEY (`id`));
>
> We can't delete the table-entry from bargraph.pl as the user can still
> have the
> chart in his browser and should be able to click on it or save it.
>
> The best way to get rid of the table entries (TRUNCATE Results;) is
> probably
> with the same cron-job that loads the database.
>
> As said, this is just a proof of concept, so feel free to shoot at it.
>
> Cheers,
>
> Paul.
>
It would help to sent the right patch ;-)
Cheers,
Paul.
|