zimulis Posted March 23, 2009 Report Share Posted March 23, 2009 Lieta sekojosa: ir datubaze kura lietotaji savadija savus tekstus... daziem no viniem teksta ir <> simboli, un kad es tekstu izvadu āra šie "tabi" chakare smadzenes. Ir iespaja lai vins vinus na ka htlm bet ka <> lasa? Quote Link to comment Share on other sites More sharing options...
bubu Posted March 23, 2009 Report Share Posted March 23, 2009 Tev jāpielieto htmlspecialchars funkcija tekstam, ko tu izvadi HTML'ā. Tas aizvietos < un citus speciālos HTML simbolus ar atbilstošajām entītēm. Quote Link to comment Share on other sites More sharing options...
zimulis Posted March 23, 2009 Author Report Share Posted March 23, 2009 Tev jāpielieto htmlspecialchars funkcija tekstam, ko tu izvadi HTML'ā. Tas aizvietos < un citus speciālos HTML simbolus ar atbilstošajām entītēm. Paldies Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.