Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Codeigniter PHP仅访问Orientdb中的表数据?_Php_Codeigniter_Orientdb_Orientdb 2.1 - Fatal编程技术网

使用Codeigniter PHP仅访问Orientdb中的表数据?

使用Codeigniter PHP仅访问Orientdb中的表数据?,php,codeigniter,orientdb,orientdb-2.1,Php,Codeigniter,Orientdb,Orientdb 2.1,我得到的数据如下: $client=new-OrientDB('localhost',2424); $client->connect('root','root'); $client->DBOpen('krshop','root','root'); $data=$client->select('select from users limit 10'); 回声“; 打印(数据); 我正在执行的代码如下:$client=new-OrientDB('localhost',2424)$客户端->连接('r

我得到的数据如下:

$client=new-OrientDB('localhost',2424);
$client->connect('root','root');
$client->DBOpen('krshop','root','root');
$data=$client->select('select from users limit 10');
回声“;
打印(数据);

我正在执行的代码如下:$client=new-OrientDB('localhost',2424)$客户端->连接('root','root')$client->DBOpen('krshop','root','root')$数据=$client->select('select from users limit 10');回声“;打印(数据);那么你的问题是什么???你能用越来越多的话解释吗???@SachinKumar请在你的问题中加入更多的信息!我只需要用户集合中的用户id、用户名、手机等,即我只需要内容索引的数据。我正在执行的代码如下:$client=new-OrientDB('localhost',2424)$客户端->连接('root','root')$client->DBOpen('krshop','root','root')$数据=$client->select('select from users limit 10');回声“;打印(数据);那么你的问题是什么???你能用越来越多的话解释吗???@SachinKumar请在你的问题中加入更多的信息!我只需要用户id、用户名、手机等,即我只需要内容索引的数据。
$client = new OrientDB('localhost', 2424); 
$client->connect('root', 'root'); 
$client->DBOpen('krshop', 'root', 'root'); 
$data = $client->select('select from users limit 10'); 
echo "<pre>";
print_r($data);