Writing a Copy and Paste box in php?

Discussion in 'PHP' started by jwzzr, Feb 15, 2010.

  1. #1
    Im try to figure out to make a copy and paste code in php(like in photobuckett where you copy the code)


    Ive googled and search the forums found nothing
     
    jwzzr, Feb 15, 2010 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    danx10, Feb 15, 2010 IP
  3. Marshton

    Marshton Peon

    Messages:
    109
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think you just want:

    <textarea>This is copy and paste-able text that is easy to do and omg there is no punctuation in this sentence *breath*</textarea>
    Code (markup):
     
    Marshton, Feb 16, 2010 IP
  4. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    edit

    I want to write something like this in php

    a box where you copy and paste

    [​IMG]
     
    jwzzr, Feb 18, 2010 IP
  5. Marshton

    Marshton Peon

    Messages:
    109
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <textarea>
    <a href="http://www.example.com?user=<?php echo $uid; ?>"><img src="images/image.png" /></a>
    </textarea>

    Uhh.... try that....? [Obviously changing the stuff that you need to change; but that is how that site you posted would do it.]
     
    Marshton, Feb 19, 2010 IP