i am very stuck, this won't work, please help!
function test($data)
{
nl2br($data);
//there are a lot of other stuff here, this is just an example
}
test( $stuff );
echo("$stuff");
this is basically to clear up textarea stuff. it has loads more stuff, but do i need to 'return $data;' at the end of te function?
also, why won't this work?
$base_file = basename($base_file);
$filename = "data/".$base_file; //or "data/$base_file"; - neither works
I thought it would work, but then again i think a lot of things lol.
Sorry for a rushed post, I had like a minute to typ this lol. cheers, jwb666.