Can I copy a variable in PHP?
I like to copy a variable in PHP in order to paste the variable with my mouse or ctr+c
The code below does NOT work correctly, but I hope it shows what I want.
[b]would-be code[/b]
<?php
$foo = "myText";
function copy_foo($foo)
{
copyTheVariable_foo
}
copy_foo($foo);
?>
if users open the page which has some code for copying like the above, the users can paste “myText” with their mouses or ctr+c.
Can I do it in PHP with your help?