は、これは私のコードです何かをして、これが彼がタイプしたものです。私は本当にそれを修正したいので、私がやりたいことを続けることができます。私はログインと登録フォームを作っているのでデータベースをやっています。助けてください。構文エラー、予期しない「mysqli_num_rows」
静的解析:
3 errors were found during analysis.
Unexpected character. (near "$" at position 0)
Unexpected character. (near "$" at position 25)
Unexpected beginning of statement. (near "$" at position 0)SQL query:
$check = mysqli_num_rows($u_check)MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use
near '$check = mysqli_num_rows($u_check)' at line 1
あなたは* mysqli_で* mysql_を混合ませんか? – michaJlS
また、PHPとSQLを混乱させるようです。 – showdev
最初の行にタイプミスがあります: 'username'対' usnername'です。それはスローしてエラーになり、ブール値になります。 – showdev