$_POST variable

A

Anonymous

Guest
use:
Code:
print_r($_POST);
to see what is actually posted to your script.
I can't see what is going wrong at this time.

Greetz Daan
 
killabine said:
hello,
i just installed php4 on my apache2.0 server. it workes fine, sorta..
when i try to get a variable sent via POST, i get this:
[value][name]=[value] combination
ie:
<input type="text" name="user">
say i type in, John, and if i try to get the "user" variable:
print $_POST['user'];
i get this in the web browser:
Johnuser=John
i also tried registering globals, and tried
print $user;
but i got the same result.
does anyone know how to fix this?
thanks
DopppyNL right!
print_r ""; print variables like array.
but
print ""; print like as is [variable][value]=[value]
And once more this question for coding part of this forum....
Sorry...
 
Back
Top