sorgu tam çalışmıyor gibi

1 Cevap php

I'm building a little search application (I know I can use match against). But now is the problem: If I'm search after a piece of a word, I'm finding the match, but if I do an exact match, it doesn't work...

Benim mysql kodu:

SELECT * 
FROM Dames 
WHERE naam 
LIKE "%alessia%" LIMIT 0,28

$ Link-> Stuk (1), sadece bir parametre ve sınırı pagination içindir.

Şimdiden teşekkürler

1 Cevap

Ben gerçekten ne söyleyeceğimi bilemiyorum. "Tam eşleşme" anlamına gelir eğer

SELECT * 
FROM Dames 
WHERE naam = "alessia" LIMIT 0,28

hiçbir şey geri geliyor ve hiçbir satır Dames tabloda "alessia" bir naam değerine sahip olduğundan, bu kadar.