Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat pp.php
- <?php
- define('CLI_SCRIPT', true);
- require('config.php');
- var_dump($DB->get_record('config', ['id' => 2], 'id'));
- $ php pp.php
- object(stdClass)#74 (1) {
- ["id"]=>
- string(1) "2"
- }
Advertisement
Add Comment
Please, Sign In to add comment