Hi, I am trying to make a simple session login script which checks the rows in a msql database. I cant pass any variables from the index over to the class such as $query_password.
Ive tried both print_r and echoing the results but no luck.
Can any one see why the error is?
on the index
PHP Code:
$check = new login($query_username,$query_password,$table_name, $table_username,$table_password,$redirect_accepted ,$redirect_denied);
$check->login_check();
in the class
PHP Code:
require_once('../shared/lib/db_class.php');
class login extends dbclass
{
/* construct */
function __construct($query_username,$query_password,$table _name,$table_username,$table_password,$redirect_ac cept,$redirect_denied) {
$this->query_username = $query_username;
$this->query_
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --