hi
i wrote a page named "connection.php" it is a class in it :
class gallery
{
var $connectionstring , $tablename ;
function gallery()
{
$tablename="SchoolPhoto";
$connectionstring = odbc_connect("mysql", "sa", "");
}
function tumbnail()
{
$Query = "select * from $tablename ";
$queryexe = odbc_do($connectionstring, $Query);
}
}
in my tumbnail function it doesnt know $connectionstring
what should i do?