| Index
» Projekty
» phpMyEdit
» Fórum
» British £ sign |
 |
markov2
Založený: 26.10.2004
Príspevky: 2
Zaslal: 2004-10-26 17:39
Návrat hore
Odpovedať s citátom
|
I have created some scripts using phpMyEdit, but when a user writes a £ sign it appears as £ on the database table.
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2004-10-27 09:23
Návrat hore
Odpovedať s citátom
|
http://opensource.platon.sk/forum/projects/viewtopic.php?t=527
|
markov2
Založený: 26.10.2004
Príspevky: 2
Zaslal: 2004-10-27 13:41
Návrat hore
Odpovedať s citátom
|
| michal Napísal: |
| http://opensource.platon.sk/forum/projects/viewtopic.php?t=527 |
Michal, thanks for that but I've tried the strip_tags and it has no affect
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2004-10-28 17:45
Návrat hore
Odpovedať s citátom
|
and the other option ? (escape) (both of them are a little mystery to me)
|
ajh
Založený: 17.12.2003
Príspevky: 236
Zaslal: 2004-10-29 10:08
Návrat hore
Odpovedať s citátom
|
I think that the difference is this:
striptags
physically removes the HTML tags from the text, ie it converts it into plain text
htmlescape
quotes the tags so that rather then being used by the browser displaying the PME application as mark-up, they are actually stored in the database field.
In this case I suspect that might need htmlescape rather than striptags - but I could be wrong :-)
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|