I'm trying to set $image = imageA via a URL:

http://www.abc123.com/php001/image_switch.php?image=imageA

Script is:

<html>
<head>
   <title>Image Switch</title>
</head>
<body>

<div align="center"><img src="<?php $image ?>.gif" width="150" height="100"
border="0"></div>

</body>
</html>


Image link ends up as:
http://www.abc123.com/php001/.gif

Link needs to be:
http://www.abc123.com/php001/imageA.gif

What am I doing wrong?

Thanks

Craig ><>
[EMAIL PROTECTED]

Reply via email to