Posted by Joseph Melnick on 10/12/55 11:27
Hello Domestos, You Wrote:
"Domestos" <never.you@mind.net> wrote in message
news:4A_Ye.19667$6p.2041@newsfe4-gui.ntli.net...
>I have a 1000x1000 area.
>
> I have data in a mysql database giving X and Y co-ords and a colour.
>
> I need to plop the colored dot down at the X and Y co-ords.
>
> Sometimes the X and Y co-ord will be the top corner of a 5x5 picture.
>
> In this case the database will hold the top left X and Y co-ords and the
> URL File for the GIF.
>
> Now ... If I go through these in a X and then Y FOR loop it takes for ever
> for Apache to parse and display into the HTML.
>
> Is there a sweeter way to do this? i.e. Is there anyway to pre-render the
> image I am creating from the database?
>
> There could be over 1000 references in the MySQL table
>
Check out the documentation @ http://www.php.net/manual/en/ref.image.php
All the functionality is there for you.
Joseph Melnick
JM Web Consultants
Toronto ON Canada
Navigation:
[Reply to this message]
|