tikkai maacos Posted March 21, 2008 Report Share Posted March 21, 2008 labdien.. man ir maza probleema... no datubaazes ieraxtiem tiek nolasiita informaacija ar visiem html tagiem.. Piemeeram: datubaazee ir ieraxts: blaa blaa lbaa <img src=kautko> blaa blaa blaa man izvada: blaa blaa lbaa bilde! blaa blaa blaa a vajag lai izvada blaa blaa lbaa <img src=kautko> blaa blaa blaa vai kaads var kko ietiekt?? varbuut kkad datubaazee jaamaina?! Link to comment Share on other sites More sharing options...
bubu Posted March 21, 2008 Report Share Posted March 21, 2008 Pie datu izvadīšanas pielieto htmlspecialchars funkciju. Link to comment Share on other sites More sharing options...
tikkai maacos Posted March 21, 2008 Author Report Share Posted March 21, 2008 nea.. plikus input un textarea a kas tietaadi??? Link to comment Share on other sites More sharing options...
IM24LV Posted March 21, 2008 Report Share Posted March 21, 2008 nu tur kur nodefinee kas ir $txt liec to iekšā htmlspeciachars(tekstadefineshana); Link to comment Share on other sites More sharing options...
tikkai maacos Posted March 21, 2008 Author Report Share Posted March 21, 2008 ok.. meeginaashu.. paldies.. ja kas buushu back :D Link to comment Share on other sites More sharing options...
tikkai maacos Posted March 21, 2008 Author Report Share Posted March 21, 2008 a veel viens jautaajums.. masiivam to var izmantot?? Link to comment Share on other sites More sharing options...
bubu Posted March 21, 2008 Report Share Posted March 21, 2008 Nē, šo funkciju var pielietot tikai string tipam. Atver manuālī šo funkciju un apskaties piemērus. Link to comment Share on other sites More sharing options...
tikkai maacos Posted March 21, 2008 Author Report Share Posted March 21, 2008 tnx... gan buus labi arii bez masiiviem.. Paldies.. Link to comment Share on other sites More sharing options...
Recommended Posts