include in $ <a href ?
| From: | mike johnson | Date: | Thu, 19 Oct 2000 07:58:17 +0000 |
| Subject: | include in $ <a href ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21112@lists.php.net to get a copy of this message | ||
This is what I have . I want $pics to be what ever is in the CURRENT URL.
but since $pics is in php tags I cant do <? echo $pics ?> . Anyone know how
to do this?
<? //Thumbs load
if ($picture == "apryl1") {
echo '<a
href="/main.php?show=pics&pics=$pics&thumbs=$thumbs&picture=apryl2"><img
src="/pics/apryl/apryl1.jpg"><br><center>Next</center></a>';
} ......