Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$result = mysql_query("SELECT SUM(TOTAL) AS total FORM price_db"); $row = mysql_fetch_assoc($result); $sum = $row['total']; echo $sum;
このコードを実行すると、何も表示されません。このエラーを修正するにはどうすればよいですか?
クエリにスペルミスがありますが、そうではありFROMませんFORM。
FROM
FORM