class connect{
public $db = mysqli_connect('localhost', 'root', 'amV5TbDYH8', 'News');
public function dbconnect($db){
if($db){
echo "ok";
} die (mysql_error());
}
}
public $db = mysqli_connect('localhost', 'root', 'amV5TbDYH8', 'News');