川添です.
Postgresしか使ったことないのですけど、きっとこうですよね。
$SQL = "select DISTINCT basyo from test where name = '$name'";
$result_SQL = mysql_query($SQL);
while( $row = mysql_fetch_array($result_SQL) ){
print_r ($row);
}
---
川添 朋律 / Kawazoe Tomonori <tsk @ ibakou.com>