gpt4 book ai didi

javascript - 自动完成搜索中的大/小字母

转载 作者:搜寻专家 更新时间:2023-10-31 21:52:15 24 4
gpt4 key购买 nike

例如,搜索字词仅显示其自身的大小;

如果搜索词只显示小写字母

enter image description here

如何让大小差异变得不重要?

$Text= str_replace($_POST['keyword'], '<b style="color: #df5a5a;text-decoration: underline;">'.$_POST['keyword'].'</b>', $rs['Text']);
$TextDesc= str_replace($_POST['keyword'], '<b style="color: #df5a5a;text-decoration: underline;">'.$_POST['keyword'].'</b>', $rs['TextDesc']);

最佳答案

这是原型(prototype),希望你知道如何查询数据库并将它们转换为JSON格式
http://code.runnable.com/V9Qu6iYUrhNC267j/big-small-letters-in-autocomplete-search-for-php

关于javascript - 自动完成搜索中的大/小字母,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39426526/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com