Thread
:
How Would I Apply htmlentities() To Every Array Item
View Single Post
01-07-2008, 07:38 PM
#
3
(
permalink
)
TlcAndres
The Addict
Join Date: Nov 2007
Posts: 265
Thanks: 2
PHP Code:
$_POST
=
array_map
(
'htmlentities'
,
$_POST
);
array_map goes into every array element and preforms the function be it user made or from the system.
The Following User Says Thank You to TlcAndres For This Useful Post:
sjaq
(01-07-2008)
TlcAndres
View Public Profile
Send a private message to TlcAndres
Find More Posts by TlcAndres