http://www.whatever.com/?username=TheUs ... ommentHere
Thing is, in my main PHP file, I have the user name as a variable $user, but when I use this code in the submit thingy, apart that it doesn't reads the parameters, doesn't even sends them.
Bits from my main.php
Code: Select all
<FORM method="post" ACTION="scripts/commentsubmit.php?user=$user">
<center><TEXTAREA NAME="comments" ROWS=5 COLS=30></TEXTAREA>
<INPUT TYPE="submit" VALUE="Submit"></center>
</FORM>Code: Select all
$me = $_POST['user'];
$text = $_POST['comments'];
echo $text . "<br>";
echo $me . "<br>";If anyone could help me it would be awesome ^_^
Thanks in advance
-DARKGuy