You are here: Re: including png image with HTML content « PHP Programming Language « IT news, forums, messages
Re: including png image with HTML content

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 . '&amp;b=' . $b . '&amp;c=' . $c
> . '&amp;d=' . $d . '&amp;e=' . $e . '&amp;f=' . $f . '&amp;g=' . $g .
> '&amp;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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация