Please help I am really struggling.
I have attached the 2 php files. The first shows the variables that I am trying to pass to the new one. As you can see my code for property.php is wrong.
<?php
include ("world_var.php");
$db = mysql_connect("localhost", $world_user,$world_pass);
mysql_select_db($world_data,$db);
$sql = "SELECT * FROM property";
$prop = mysql_query($sql);
$proprow = mysql_fetch_array($prop);
$$propcount=mysql_num_rows($prop);
$$prop_counter=12;
$sql = "SELECT * FROM flash";
$flash = mysql_query($sql);
$flashrow = mysql_fetch_array($flash);
$$flashcount=mysql_num_rows($flash);
$$flash_counter=99;
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Textpad">
<meta name="Description" content="">
<meta name="keywords" content="">
<title>Orchards Rolling Screen Application</title>
</head>
<!--<body bgcolor=white onLoad='window.open("property.php?&propcount=<?php echo $propcount; ?>&prop_counter=<?php echo $prop_counter; ?>&flashcount=<?php echo $flashcount; ?>&flash_counter=<?php echo $flash_counter; ?>","popup","fullscreen")'>-->
echo '<a href="property.php?propcount=' . $propcount . '&prop_counter=' . $prop_counter . '&flashcount=' . $flashcount . '&flash_counter=' . $flash_counter . '">Next Page</a>';
</body>
</html>
Property.php
<?php
$propcount=$_GET['propcount'];
?>
<html>
<head>
<title>Orchards Rolling Screen Application (Startup Page)</title>
<meta http-equiv="Page-Enter"content="revealTrans(Duration=2.0,Transition=<?php echo $scroll ?>)">
<meta http-equiv="refresh" content="100"; URL=main.php?splash=<? echo $HTTP_GET_VARS['splash'];?>">
<meta HTTP-EQUIV="imagetoolbar" CONTENT="no">
<link rel="stylesheet" href="body.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="overflow:hidden">
</body>
</html>