Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  British £ sign

phpMyEdit Configuration     British £ sign
Odoslať novú tému   Odpovedať na tému    
 
markov2     Založený: 26.10.2004   Príspevky: 2  
Príspevok 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
Príspevok 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  
Príspevok 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
Príspevok 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  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov