Hi,
Mr Gates has a lot to answer for. I am using a popup window for my site below. When I select Team 1992 on the left and then click on a fixture on Opponents (Cumbernauld United) in firefox it pops up and displays the full match report (pulled from the database). However if I do this in IE6 or 7 the full report is not displayed. The popup script is below. I believe it is something to do with the 2k limit for the GET command but I have not idea how to fix it
Martin
http://www.steinsthistle.co.uk
<?
//$report = $var1 = $_GET["var1"];
//$opponent = $var2 = $_GET["var2"];
//print("Opponent = <u>$opponent</u><br><br>");
//echo stripslashes($var1); ?>
<?
$report = $var1 = $_GET["var1"];
$opponent = $var2 = $_GET["var2"];
include("dbinfo_steins.php");
$link = mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database .....");
$query = "SELECT * FROM fixtures WHERE opponents = \"$report\"";
$mysql_result = mysql_query($query);
if($mysql_result == 0)
{
//print("<br><br><br><B>NO NEW DVDs at this time<B><br><br>");
}
else
{
while($row = mysql_fetch_row($mysql_result))
{
$item_00 = $row[0];
$item_01 = $row[1];
$item_02 = $row[2];
$item_03 = $row[3];
$item_04 = $row[4];
$item_05 = $row[5];
$item_06 = $row[6];
}
print("Opponent = <u>$var2</u><br><br>");
echo stripslashes($var1);
//print("<td><center>$report</center></td>");
}
?>