laucinieks Posted November 1, 2011 Report Share Posted November 1, 2011 Tātad, kā var pārveidot visus simbolus tekstā uz kodu, bet lai nepārveido latviešu garumzīmes un mīkstinājumu zīmes. Ja lieto htmlentities(); tad arī pārveido latviešu burtus uz simboliem. L. Quote Link to comment Share on other sites More sharing options...
Lauris Posted November 2, 2011 Report Share Posted November 2, 2011 (edited) Praksē parasti izmanto htmlspecialchars. Vari vēl pielikt ENT_QUOTES pilnai laimei. Edited November 2, 2011 by Lauris 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.