Re: [Linux-bruxelles] PHP - jpgraph: comment avoir une page avec à la fois du texte et des graphiques générés ?

Sébastien Adam sebastien.adam.be at gmail.com
Lun 11 Juil 09:29:41 CEST 2005


> Donc la question est de savoir comment avoir à la fois une page normale,
> générée par php, _et_ les graphiques générés par php avec la librairie
> jpgraph ?

Voir manuel jpgraph:

>>>>>
4.4 The basic principle of JpGraph and the creation of images

The common pattern for creating graphs is

   1. Create a script that constructs the image, type, colors size and so on.
   2. A wrapper script which contains one or more <IMG> tags to
position the graphs on the proper HTML page.

Of course it is of perfectly possible to call the image script
directly in the browser to just display the generated image in the
browser.

You should remember that it is also possible to pass arguments to the
image script via the normal HTTP GET/POST arguments. For example
<img src ="showgraph.php?a=1&b=2" >
<<<<<




Plus d'informations sur la liste de diffusion Linux-bruxelles