echo textarea in php -


please let me know how echo textarea, tried several versions dint work. whole page in php. using codeigniter framework

echo "<textarea name='openletter'  id='openletter' style='width: 565px;' rows='8' cols='60'>"; <?php echo "$data['openletter']"; ?>  </textarea>"; 

you're missing basic php functionality , knowledge, i'd advice read coursework on beginner php. also, should fix problem

<textarea name='openletter'  id='openletter' style='width: 565px;' rows='8' cols='60'><?php echo $data['openletter'];?></textarea> 

if want inside echo :

echo "<textarea name='openletter'  id='openletter' style='width: 565px;' rows='8' cols='60'>". $data['openletter'] ."</textarea>"; 

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -