application/models/User.php
/*DOCU This function saves the user to the database
		Owner:Philip */
DOCU This function saves the user to the database
Owner:Philip
DOCU This function saves the user to the database Owner : Philip
public function save_user($data) {
			$sql = "INSERT INTO users (first_name, last_name, email, user_level, password)
					VALUES (?,?,?,?,?)";
			return $this->db->query($sql, array($data["first_name"],$data["last_name"], $data["email"], $data["user_level"], $data["password"]));
		}
public function save_user ( $ data ) { $ sql = " INSERT INTO users (first_name, last_name, email, user_level, password)
					VALUES (?,?,?,?,?) " ; return $ this -> db -> query ( $ sql , array ( $ data [ " first_name " ] , $ data [ " last_name " ] , $ data [ " email " ] , $ data [ " user_level " ] , $ data [ " password " ] ) ) ; }
DOCU This function saves the user to the database
Owner:Philip
DOCU This function saves the user to the database Owner : Philip