bitmapboy wrote:
> <?php if (isset($HTTP_GET_VARS['status']) &&
$HTTP_GET_VARS['status'] ==
> "true") echo ("<img src="images/added.jpg">);
?><?php if
> (isset($HTTP_GET_VARS['status']) &&
$HTTP_GET_VARS['status'] == "false") print
> ("You are already added!"); ?>
Your use of quotes in the echo statement is wrong. Should be
this:
echo '<img src="images/added.jpg">';
Also, you should not be using $HTTP_GET_VARS unless you're
using a very
old server. $HTTP_GET_VARS is deprecated and won't work on
all servers.
Use $_GET instead. See the following section of the PHP
manual for more
details:
http://www.php.net/manual/en/reserved.variables.php
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/