Is there PHP code to copy text inside textarea until I can paste it in any place
Printable View
Is there PHP code to copy text inside textarea until I can paste it in any place
do you write any of your own code??????????
and the answer is NO
use javascript
Is your notion of "copying" perhaps what we programmers would call a variable? Are you submitting a form and wanting to save that information for later use?Quote:
Originally posted by prokhaled
Is there PHP code to copy text inside textarea until I can paste it in any place
If so, then you are not copy and pasting it, but you are passing the variable. Most form elements, including the textarea, are transferred to a variable in PHP when they are submitted if they have a name property.
This variable will be something like $_REQUEST['name_you_gave_the_textarea']
Otherwise what are you talking about with "copy and paste?" :confused:
i think he means so that it is added to the windows clipboard
yes DJ P@CkMaN , That is waht I mean.
Then no, you can't do that through PHP.
Quote:
Originally posted by The Hobo
Is your notion of "copying" perhaps what we programmers would call a variable? Are you submitting a form and wanting to save that information for later use?
If so, then you are not copy and pasting it, but you are passing the variable. Most form elements, including the textarea, are transferred to a variable in PHP when they are submitted if they have a name property.
This variable will be something like $_REQUEST['name_you_gave_the_textarea']
Otherwise what are you talking about with "copy and paste?" :confused:
wow. you think long distance! :cool:
does "server side" mean anything to you??
You never know with this guy. :rolleyes: :DQuote:
Originally posted by thexchord
wow. you think long distance! :cool: