Witam, otóż mam problem, próbuję dodać text do bazy utf8, general_ci ale jest taki problem ze dodać dodaje text ale nie dodaje .
np mam taki text:
text = " a "test" ";
rezultat w bazie będzie taki: a "test" bez tej kreski \
Witam, otóż mam problem, próbuję dodać text do bazy utf8, general_ci ale jest taki problem ze dodać dodaje text ale nie dodaje .
np mam taki text:
text = " a "test" ";
rezultat w bazie będzie taki: a "test" bez tej kreski \
Próbowałeś wyeskejpować tego slasha? Pewnie chcesz coś w stylu "a \\\"test\""
Bo to powinno wyglądać tak, jeżeli chcesz włożyć taki tekst a \"test"
To update ma wyglądać tak:
text = " a \\\"test\""