<?php include('read_tables.php'); $host = $_POST['host']; $user = $_POST['user']; $pass = $_POST['pass']; $database = $_POST['database']; $table = $_POST['table']; $test = new read_tables($host,$user,$pass,$database,$table); ?>