【发布时间】:2018-10-31 15:36:07
【问题描述】:
我正在尝试从 mysql 结果中获取 typedtest 文本:
a:1:{s:5:"typed";s:9:"typedtest";}
如何使用 php 从上方获取s:9 value?
【问题讨论】:
-
你需要更具体。你想要
typedtest这个词作为你的结果吗?结果是否始终采用这种精确格式? -
是的尼克,没错,格式也一样,只是变化如下:a:1:{s:5:"typed";s:24:"hey is signed? teped?"; }
标签: php mysql wordpress mysqli