![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 7 Dołączył: 24.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
Mam do poprawienia błędne znaczniki wprowadzone do pola tekstowego w bazie istnieje wpis <\b> istnieje pod wyrażeniem
Kod & lt;\b& gt; //bez spacji oczywiscie lecz zapytanie
lub
Nie pobiera zadnych rekordów Ten post edytował fenix.robi 22.07.2010, 12:21:48 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 82 Pomógł: 22 Dołączył: 20.07.2010 Ostrzeżenie: (0%) ![]() ![]() |
z reference manuala:
Because MySQL uses C escape syntax in strings (for example, “\n” to represent a newline character), you must double any “\” that you use in LIKE strings. For example, to search for “\n”, specify it as “\\n”. To search for “\”, specify it as “\\\\”; this is because the backslashes are stripped once by the parser and again when the pattern match is made, leaving a single backslash to be matched against. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 7 Dołączył: 24.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
z reference manuala: Because MySQL uses C escape syntax in strings (for example, “\n” to represent a newline character), you must double any “\” that you use in LIKE strings. For example, to search for “\n”, specify it as “\\n”. To search for “\”, specify it as “\\\\”; this is because the backslashes are stripped once by the parser and again when the pattern match is made, leaving a single backslash to be matched against. Fajnie, zobacz drugie zapytanie SQL |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 115 Pomógł: 6 Dołączył: 23.01.2010 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 7 Dołączył: 24.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
Kiedyś miałem podobny problem sprob tak:
Hmm spieszyło mi się i zrobiłem pętle, pobierałem co 100 bez warunków WHERE i parsowałem phpem i zapisałem, wiec już poprawione, ale dzięki, zapamiętam twoją radę, może kiedyś będzie przydatna ![]() |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 82 Pomógł: 22 Dołączył: 20.07.2010 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.06.2025 - 09:05 |