私はこのようなphpスクリプトを持っています
$query = "select * where userid = 'agusza' ";
$result = mysql_query($query) or die(mysql_error());
while($row=mysql_fetch_array($result)) {
echo $result;
}
実行すると、このような結果
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where userid = 'agusza'' at line 1
しかし、そのSQLをsqlserverで実行すると、うまく動作します