Welcome Guest, Not a member yet? Register   Sign In
Form helper textarea load file
#2

Hey... Well, I think the easiest way to do it, without having to open the file or create a handle or anything like that, is to use the get_file_contents() function.
PHP Code:
$data get_file_contents('text_for_textarea_field.txt'); 
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply


Messages In This Thread
Form helper textarea load file - by gabrielpasv - 09-07-2015, 12:56 PM
RE: Form helper textarea load file - by RobertSF - 09-07-2015, 02:03 PM
RE: Form helper textarea load file - by pdthinh - 09-07-2015, 05:33 PM
RE: Form helper textarea load file - by RobertSF - 09-07-2015, 05:55 PM
RE: Form helper textarea load file - by pdthinh - 09-08-2015, 11:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB