added stuff in pair programming session
This commit is contained in:
10
logic/testinput.php
Normal file
10
logic/testinput.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
function testinput($data) {
|
||||
$data = trim($data);
|
||||
$data = stripslashes($data);
|
||||
$data = htmlspecialchars($data);
|
||||
return $data;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user