This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
TABLE_NAME, | |
COLUMN_NAME, | |
CONSTRAINT_NAME, | |
REFERENCED_TABLE_NAME, | |
REFERENCED_COLUMN_NAME, | |
UPDATE_RULE, | |
DELETE_RULE | |
FROM | |
INFORMATION_SCHEMA.KEY_COLUMN_USAGE AS kcu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach ($log as $i => $log_item) { | |
echo $log_item['AuditEntryMessage']; | |
echo '(', $log_item['Username'], ')'; | |
echo $log_item['AuditEntryMessage']; | |
if ($i < count($log) - 1) { | |
echo "\r\n"; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace JawHare; | |
class UserTest extends \PHPUnit_Framework_TestCase | |
{ | |
protected $user; | |
protected $user_data = array( | |
'username' => 'PHPUnitTest', | |
'fullname' => 'PHP Unit Testing', |