简体   繁体   English

将mySQL全文搜索相关性值传递回PHP生成的表单

[英]passing mySQL full-text search relevance values back to PHP generated form

I'm using php generated forms to do mySQL full text queries on a database. 我正在使用php生成的表单对数据库进行mySQL全文查询。 Matches are ordered according to weighted relevances and returned to the form. 根据加权相关性对比赛进行排序,然后将其返回表格。 My question is: 我的问题是:

Is there any way to pass the relevance values as well back to the form? 有什么办法可以将相关性值也传递回表单吗?

I'd like to pass the relevance values to JS so that the client might reorder the match list without re-submitting the form back to the server. 我想将相关性值传递给JS,以便客户端可以对匹配列表重新排序,而无需将表单重新提交给服务器。

我认为您正在发现以下内容: http : //w3schools.com/ajax/ajax_database.asp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM