如何使用MB_函数从MySQL数据库中找到前两个输入?

问题描述 投票:0回答:1
helloworld

我想从数据库中搜索其仅有的前2个字符,以便它只能搜索

he
。 我当前的代码是:
mb_strrichr($term,$row['letters'])
    

使用这样的功能:

mb_substr
php mysql multibyte multibyte-functions
1个回答
0
投票

© www.soinside.com 2019 - 2025. All rights reserved.