如何修复PHP搜索查询?

时间:2019-05-06 17:50:29

标签: php mysqli

index.php

const Stopwatch = () => (
  <ReactStopwatch
    seconds={0}
    minutes={0}
    hours={0}
    limit="00:00:10"
    onChange={({ hours, minutes, seconds }) => {
      // do something
    }}
    onCallback={() => console.log('Finish')}
    render={({ formatted, hours, minutes, seconds }) => {
      return (
        <div>
          <p>
            Formatted: { formatted }
          </p>
          <p>
            Hours: { hours }
          </p>
          <p>
            Minutes: { minutes }
          </p>
          <p>
            Seconds: { seconds }
          </p>
        </div>
      );
    }}
   />
);

connect.php

render={({ formatted, hours, minutes, seconds })

我有搜索按钮,它引用查询数据库的search.php函数。数据库中的值存在,但查询仍然找不到

哪里出错了?

0 个答案:

没有答案