Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Długi tekst
baszar
post
Post #1





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 3.03.2013

Ostrzeżenie: (0%)
-----


Witam, zrobiłem sobie system newsów i mam problem gdyż jak chce wpisać długi tekst taki jak np.:


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Wtedy pisze, że dodało normalnie informacja, ale wpis nie dodaje się do bazy. Tekst jest wklejany do edytora WYSWiG.


Co może byc?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
_Borys_
post
Post #2





Grupa: Zarejestrowani
Postów: 587
Pomógł: 190
Dołączył: 5.02.2011
Skąd: 64-800

Ostrzeżenie: (0%)
-----


Dlatego nie wsadza do bazy bo masz w zmiennej apostrof, zastosuj np. mysql_real_escape_string() do zmiennej a potem do bazy.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 8.10.2025 - 14:33