Re: header problem

From: Date: Mon, 09 Oct 2000 05:37:08 +0000
Subject: Re: header problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19143@lists.php.net to get a copy of this message
On Mon, 9 Oct 2000, Matt McClanahan wrote: > On Mon, 9 Oct 2000, Ronaldi Junarto wrote: > > > I want to add link with <a href=".."> tag inside a script that create > > image. The script send header("content-type: image/gif") so I can not > > display the link. I try to call the script that create image with > > <IMG SRC=".."> tag, the result show the link but it doesn't display > > the > > image > > > > Any ideas how to work this out...?? > > Something like this? > > <?php > > if ($action == 'draw') > { > // Draw and output image > } > else > { > echo '<a href="destination.php">'; > echo '<img src="' . $PHP_SELF . '?action=draw" > border="0"> > echo '</a>'; > } > > ?> > > Matt > Sorry Matt if I'm not making myself clear.... now I'm trying to display my query result in graphic. I'm using limit to display my query result 10 items per page. The problem is that I can not display the link (next >>>) to see the next 10 items. When I try to call the script that create graphics using <IMG SRC> the next >>> link appear in the browser but the graphics didn't show up. Any ideas? > -- peace & love [ronAldi]

« previous php.general (#19143) next »