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.
ユーザーが自分の名前、コメント、1 から 6 までのスコアを送信できるフォームを作成しました。これは、それぞれのフィールドのテーブルに保存されます。名前、コメント、スコア。平均点を表示したくありません。
これは私がこれまでに見つけたものです:
$result = mysql_query("SELECT AVG(fieldName) FROM tableName");
これをエコーするにはどうすればよいですか?