hi there,
my problem is as follows
i have a file called constansts.php
which contains few code like this
define ("HOST", "");
define ("DATABASE", "mysql");
define ("USER", "");
define ("PASSWORD", "");
now i have another file called classMysql.new.php
which contains a class
class DataSet
{
data members or variables
var ...
member functions
function connect(DATABASE,HOST,USER,PASSWORD)
now this line gives me error :
Parse error: parse error, expecting `')'' in classMysql.new.php on line 41
what should i do
is it that i cannot pass constants to functions of a class
please help me
}