return first 20 and last 20 characers from a search from database column using php mysql

前端 未结 0 1177
死守一世寂寞
死守一世寂寞 2021-01-16 16:28

I am creating a search from the database to search a string with php mysql. But i want to display to user the first 20 characters before and after the string searched.

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题