i ama getting an error that say
Notice: Array to string conversion in C:\wamp\www\chat2\ajaxLoad.php on line 15
i do not know how to solve this can anyone help me ???
this is the code
<?php
require_once('mysqli.class.php');
$config = array();
$config['host'] = 'localhost';
$config['user'] = 'root';
$config['pass'] = 'root';
$config['table'] = 'messages';
$db = new DB($config);
// Run a Query:
$db->query('SELECT * FROM message');
echo$db->get();
?>