+ 2
What is the use of this functin
function test_input($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); return $data;
5 Answers
+ 2
This function takes some data, removes any trailing spaces at the beginning or the end of the input, removes any backslashes, and finally converts special characters into their respective HTML value.
+ 1
This function is used for get input from users
+ 1
This is the php language
+ 1
This function is used for get input from users
0
This is not Java, nor C++, not Ruby? Umm.. Which language is this??? đ€đ€đ€