Just gone through my code and I can see why it's picking it up.
switch ($page)
{
case "next":
next_table_position();
sort_table();
display_table();
break;
case "previous":
previous_table_position();
sort_table();
display_table();
break;
default:
sort_table();
init_table_position();
$page is not defined before the switch statement.
However, this works fine on my other sever.
Is it a problem with error reporting settings in php.ini or is there another way of declaring the variable. The switch stement is saying if $page does not exist go to the functions within default:
Asa