Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $tabledit = new MySQLtabledit();
- $tabledit->database = 'owngame';
- $tabledit->host = 'localhost';
- $tabledit->user = 'root';
- $tabledit->pass = 'tzr9x';
- $tabledit->table = 'planets';
- $tabledit->primary_key = 'userID';
- $tabledit->fields_in_list_view = array('userID', 'username', 'planetname', 'resources', 'population', 'minerals');
- $tabledit->num_rows_list_view = 20;
- $tabledit->help_text = array(
- 'userID' => "userID",
- 'username' => "username",
- 'planetname' => "planetname",
- 'resources' => "resources",
- 'population' => "population",
- 'minerals' => "minerals");
- $tabledit->show_text = array(
- 'userID' => "userID",
- 'username' => "username",
- 'planetname' => "planetname",
- 'resources' => "resources",
- 'population' => "population",
- 'minerals' => "minerals");
- $tabledit->width_editor = '100%';
- $tabledit->no_htaccess_warning = 'off';
- $tabledit->database_connect();
- $tabledit->do_it();
- $tabledit->database_disconnect();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement