Hey, i have a textbox and an image.... When the image is clicked, i need all the text in the textbox to be stored in a PHP session variable.
Is this possible?
i was going to do womething like this:
Would someone mind telling me if this is the way to go about it??Code:<script> function assignvariable() { var currentvalue = document.form1.message.value; document.write("<?php $_SESSION['message'] = " + currentvalue); } </script>
Many thanks, BIOSTALL




Reply With Quote