strip and trim
Posted: Wed Feb 23, 2005 5:00 pm
i want to strip_tags and trim a serries of varialbes with a function. here is what i have but it dosnt work.
Code: Select all
function s_t($var){
$var = strip_tags($var);
$var = trim($var);
}
s_t($email);
s_t($name);
s_t($address);
s_t($city);
s_t($room);