>>151
"SELECT name FROM table WHERE name = '" . $hoge . "'"

これだと?