I have the following code:
instead of images I have a flash file that I want to use but it will not bring up anything. Where am I going wrong?
Thanks
Z
Code:
<?
if(!empty($_SESSION[MemberID]))
{
$LoginLogout = "<a href=\"logout.php\"><embed SRC=\"images/logout.swf\" WIDTH=100 HEIGHT=50 ALT=\"Login\" border=0></embed></a>";
if(ereg("index.php", $_SERVER[SCRIPT_NAME]))
{
$WelcomeMessage = nl2br($aset[message])."<br><hr width=\"100%\" size=1 color=dddddd>";
}
}
else
{
$LoginLogout = "<a href=\"login.php\"><img SRC=\"images/login.swf\" WIDTH=100 HEIGHT=50 ALT=\"Login\" border=0></a>";
}
?>
Thanks
Z