I need some with this simple piece of code: [code] function insideTable(sometext) { document.getElementById('text_area').innerHTML = sometext; } [/code]
[code]
[/code]
How to write exactly the same thing in php? Any ideas?
: Hello, : : I need some with this simple piece of code: : [code]: : function insideTable(sometext) : { : document.getElementById('text_area').innerHTML = sometext; : } : [/code]: : : [code]: : :
:
:
:
:
:
: [/code]: : : How to write exactly the same thing in php? Any ideas? : : Thank you. : : Here you go: [code]
<?php echo $_GET["text_area"]; ?>
[/code] You need to change the red part to the address of the page.
Comments
:
: I need some with this simple piece of code:
: [code]:
: function insideTable(sometext)
: {
: document.getElementById('text_area').innerHTML = sometext;
: }
: [/code]:
:
: [code]:
:
:
:
:
:
:
: How to write exactly the same thing in php? Any ideas?
:
: Thank you.
:
:
Here you go:
[code]
<?php echo $_GET["text_area"]; ?>
You need to change the red part to the address of the page.