Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Xcrud_config
- {
- public static $dbname = 'testxcrud';
- public static $dbuser = 'root';
- public static $dbpass = '';
- public static $dbhost = 'localhost';
- }
- ?>
- <?php
- include('Xcrud_config.php');
- $xcrud = Xcrud::get_instance();
- $xcrud->table('persons');
- echo $xcrud->render();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement