mysql:7882
From: Sadachika Shinohara <Sadachika Shinohara <sinohara@xxxxxxxxxx>>
Date: Sun, 08 Jun 2003 12:44:15 +0900
Subject: [mysql 07882] Re: ランダム行の取得について
shinoharaです
> mysql_query(SELECT * FROM problem WHERE id='$id')
クエリー文を以下のようにすれば如何ですか?
SELECT * FROM problem WHERE id = '$id' ORDER BY RAND()
--
Sadachika Shinohara <sinohara@xxxxxxxxxx>
7881 2003-06-08 12:27 [HOLA <hola@xxxxxxxxx] ランダム行の取得について -> 7882 2003-06-08 12:44 ┗[Sadachika Shinohara ] 7883 2003-06-08 21:48 ┗[HOLA <hola@xxxxxxxxx] 7885 2003-06-08 22:20 ┗[<sugita@xxxxxxxxxx> ] 7887 2003-06-08 22:48 ┗[HOLA <hola@xxxxxxxxx] 7888 2003-06-09 08:47 ┗["Tatsuya Kondo" <kon]