![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 303 Pomógł: 1 Dołączył: 24.09.2011 Ostrzeżenie: (10%) ![]() ![]() |
Załóżmy, że w bazie są dwie pozycje
1. mąka 2. maka Zapytanie tego typu:
zwraca mi tylko 1 Co musze dodac do zapytania, lub co musze zrobic by zapytanie uwzglednialo polskie znaki? Pomyslalem o zmianie liter a -> ą itd, lecz jak by miało rozpoznać która litera to akurat "ą". Pewnie jest na to jakiś prosty sposob, wiec prosze o wskazówke. Ten post edytował viamarimar 22.02.2017, 03:17:05 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 220 Pomógł: 18 Dołączył: 5.02.2016 Skąd: Polska Ostrzeżenie: (0%) ![]() ![]() |
1. SELECT product_name FROM `product` WHERE product_name LIKE '%maka%' AND product_name LIKE '%mąka% (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) ?
A najlepiej nie LIKE tylko REGEXP. Poczytaj manuala. Ten post edytował Niree 23.02.2017, 02:18:20 |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 239 Pomógł: 32 Dołączył: 10.03.2004 Ostrzeżenie: (10%) ![]() ![]() |
(IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/questionmark.gif) Myślałem, że to poprawiłem (IMG:style_emoticons/default/smile.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 11:27 |