tikkai maacos Posted March 21, 2008 Report 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?!
bubu Posted March 21, 2008 Report Posted March 21, 2008 Pie datu izvadīšanas pielieto htmlspecialchars funkciju.
tikkai maacos Posted March 21, 2008 Author Report Posted March 21, 2008 nea.. plikus input un textarea a kas tietaadi???
IM24LV Posted March 21, 2008 Report Posted March 21, 2008 nu tur kur nodefinee kas ir $txt liec to iekšā htmlspeciachars(tekstadefineshana);
tikkai maacos Posted March 21, 2008 Author Report Posted March 21, 2008 ok.. meeginaashu.. paldies.. ja kas buushu back :D
tikkai maacos Posted March 21, 2008 Author Report Posted March 21, 2008 a veel viens jautaajums.. masiivam to var izmantot??
bubu Posted March 21, 2008 Report Posted March 21, 2008 Nē, šo funkciju var pielietot tikai string tipam. Atver manuālī šo funkciju un apskaties piemērus.
tikkai maacos Posted March 21, 2008 Author Report Posted March 21, 2008 tnx... gan buus labi arii bez masiiviem.. Paldies..
Recommended Posts