如何使用Phpredis调用Redis中使用的密钥中存储的值 [英] How Do I Call Value Stored In A Key Used In Redis With Phpredis

查看:104
本文介绍了如何使用Phpredis调用Redis中使用的密钥中存储的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Phpredis并尝试从以下名为statHistory的密钥中获取信息我是redis的新手,不知道如何单独调用每个值。我能够使用php连接到redis并使用ping命令对其进行测试。经过两天的测试,我仍然无法正常通话。如果有人能指出我正确的方向,我会非常感激。

关键名:statHistory

http://pastebin.com/pXz5d0zf

redis-commander图片http://postimg.org/ image / pusnghk9n /

I using Phpredis and am trying to get information from the following key called "statHistory" I am new to redis and not sure how to call each value individually. I am able to connect to redis using php and have tested it using the ping command. It has been two days of testing and I still cant get it to call properly. If anyone could point me in the right direction I would greatly appreciate it.
Key Name: statHistory
http://pastebin.com/pXz5d0zf
image of redis-commander http://postimg.org/image/pusnghk9n/

推荐答案

这篇关于如何使用Phpredis调用Redis中使用的密钥中存储的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆