使用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);