I have this code in php file <input type=\"text\" id=\"title\" name=\"title\" size=\"50\" class=\"seyretinputbox\" value=\"".$videotitle."\"/> Code (markup): I want to replace this to textarea.
<?php echo '<textarea name="title" id="title" rows="3" cols="40" class="seyretinputbox">' . $videotitle . '</textarea>'; ?> PHP: P.s. why does it all have to be in PHP? :\
It's a pretty compact way of doing it, I guess. Although he could always just do: <textarea name="title" id="title" rows="3" cols="40" class="seyretinputbox"><?php echo $videotitle; ?></textarea>
see this file can you please change me this http://www.sendspace.com/file/8t1p5f need to change this to textarea <input type=\"text\" id=\"itemcomment\" name=\"itemcomment\" size=\"50\" class=\"seyretinputbox\" value=\"".$itemcomment."\"/> Code (markup): and <input type=\"text\" id=\"itemcomment\" name=\"itemcomment\" size=\"50\" class=\"seyretinputbox\" value=\"\"/> Code (markup):
DIY. www.w3schools.com/html www.w3schools.com/php Look which variables I've moved to where and you'll be able to do it yourself in no time. Dan