Posted by Paul Charlton-Thomson on 07/01/05 01:33
Ken,
Problem solved ... doh!
I need to use the $_POST command in the page that presents the HTML and the
<IMG SRC="draw_pie.php?a=1&b=2 ... otherwise I was outputting <IMG
SRC="draw_pie.php?a=&b=&c=&d=
AND
use the $_GET in the draw_pie.php page ...
I was only using the $_GET in draw_pie.php
Thanks for your help - greatly appreciated.
Paul.
"Ken Robinson" <kenrbnsn@rbnsn.com> wrote in message
news:1120001920.659251.255680@g44g2000cwa.googlegroups.com...
> Paul Charlton-Thomson wrote:
> > I have been working on this and I have found a workaround but using
IFRAME
> > which I'm not keen on ... so I can create my image and get it to display
> > with my HTML using ...
> >
>
> I wrote a small test script:
>
> <?
> $a =5; $b=6;$c=1;$d=10;$e=8;$f=4;$g=10;$h=7;
> echo '<IMG SRC="draw_pie.php?a=' . $a . '&b=' . $b . '&c=' . $c
> . '&d=' . $d . '&e=' . $e . '&f=' . $f . '&g=' . $g .
> '&h=' . $h . '">';
> ?>
>
> and used it with the code you posted. I got the graphic with no
> problem.
>
> Can you post the code that you are having problems with? Looking at
> the code you've posted so far it looks like you're mixing HTML & PHP
> without using the <?php & ?> tags correctly.
>
> Ken
>
Navigation:
[Reply to this message]
|