Hi, firstly; i'll introduce myself.... i'm the guy who has been up all night trying to sort this code and i've no idea where i'm going wrong, so any help would be greatly appreciated.
I'm getting the following error...
Parse error: parse error, unexpected ';' in /home/.... on line 26
<?
session_start();
if ($_SESSION['adminarea']!="Active") {
header ("Location: login.php");
}
include ("../config/config.php");
include ("header.php"); ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2"><img src="images/i_user.gif" border="0"></td>
<td width="100%"><img src="images/pixel.gif" height="24" width="1"></td>
<td> </td>
</tr>
<tr>
<td width="100%" align="right" background="images/bg_part.gif" class="head"><? echo BLOCKED_EMAIL_SETTINGS;?> </td>
<td><img src="images/end_part.gif"></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="2" cellpadding="4">
<tr class="c3">
<td align="center"><b>
<?=$a_lang[ADD_NEW_BLOCKED];?>
<? echo ($_GET['domain']=="domain")?"$a_lang[DOMAIN_ADDRESS]";) ?></b></td>
</tr>
<form action="block.emails.php" method="post">
<input type="hidden" name="bdomain" value="<?=$domain;?>"></form>
<tr class="c1">
<td align="center"><? echo (($_GET['domain']=="domain")?"$a_lang[ENTER_DOMAIN]": ); or die(mysql_error());?>
<input name="domain" type="text" id="domain"></td>
</tr>
<tr class="c2">
<td align="center"><? echo (($_GET['domain']=="domain")?"$a_lang[DOMAIN_FORMAT]": ); or die(mysql_error());?> </td>
</tr>
<tr class="c3">
<td align="center"><input name="adddomainok" type="submit" id="adddomainok" value="<?=$a_lang[ADD];or die(mysql_error());?>"></td>
</tr>
</form>
</table>
<? include ("footer.php"); ?>
Again, any help would be greatly appreciated ...
Thanks in advance... X
edit.. wrong code posted