readfile |
[eluser]jur[/eluser]
Hi, Im doing online editor to my site., I use read_file function and put it's output inside a textarea. Its work fine. but when the the file to be edited in my textarea has a <textarea> tag, its not functioning well at all. can anyone help? Thanks! ![]() //Controller $data['script'] = read_file(register.php); /*register.php has a textarea tag inside*/ $this->load->vars($data); $this->load->view('editor.php', $data); //View (editor.php) <textarea> <?php echo $script; ?> </textarea>
[eluser]jpijper[/eluser]
This probably has to do with the interpretation of < and > symbols within the textarea. Read this: http://forums.mozillazine.org/viewtopic....e2c17e1574. Jan Roelof
[eluser]jur[/eluser]
hi again , thanks jpijper and Cristian Gilè. Its rocking Good now! hehe |
Welcome Guest, Not a member yet? Register Sign In |