阅读背景:

在PHP中搜索字符串或字符串的一部分

来源:互联网 

I am doing a very small online store application in PHP. So I have an array of maps in PHP. I want to search for a string (a product) in the array. I looked at array_search in PHP and it seems that it only looks for exact match. Do you guys know a better way to do this functionality? Since this is a very small part of what I am actually doing, I was hoping that there was something built in. Any ideas?I am doing a very small online store applicatio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: