runnerjp Posted April 11, 2008 Share Posted April 11, 2008 hey guys ... i have no idea if this is the rite area to post might be html i dunno but i have this <textarea class="input" id="about_me" name="about_me" rows="4" cols="40"><?php echo $message ?></textarea> how can i stop people writing in the box so it just displays the data without them beeing able to input Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted April 11, 2008 Share Posted April 11, 2008 <textarea class="input" id="about_me" name="about_me" rows="4" cols="40" disabled="disabled"><?php echo $message ?></textarea> If this form is then being submitted you'll still need to check the value of it, however. Quote Link to comment Share on other sites More sharing options...
runnerjp Posted April 11, 2008 Author Share Posted April 11, 2008 huh that easy eh lol somethin new learnt ... noo its not been submitted just had a nice idea on how to use it ty very much Quote Link to comment Share on other sites More sharing options...
runnerjp Posted April 11, 2008 Author Share Posted April 11, 2008 sorry new thing... is there away to also center <textarea class="input" id="about_me" name="about_me" rows="4" cols="40" disabled="disabled"><?php echo $message ?></textarea> this part <?php echo $message ?> within the text area ?? Quote Link to comment Share on other sites More sharing options...
conker87 Posted April 11, 2008 Share Posted April 11, 2008 You will have to use styles for that. try: style="align: center" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.