|
-
Jun 14th, 2009, 09:55 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Quick function question
I want to do something like
$value = update_text($value)
function text_process($value){
$value = trim(strip_tags($value));
$value = addslashes($value);
$value = htmlspecialchars($value);
}
Do I need to return $value in order to have it available to the code that calls the function or is it already loaded into the calling value "$value ="
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|