Posted by william.hooper on 10/14/07 12:05
Oh thankyou but I am tearing my hair out.
I have this html:
<html>
<head></head>
<body>
<FORM ACTION="test.php"><INPUT TYPE=SUBMIT NAME="hello"
VALUE="Delete"> </FORM>
</body>
</html>
and if I make test.php this:
<?php
echo 'Hello World!';
?>
but when I try your code it's just blank. in fact i am struggeling to
get anything except this hello world example to work and i have tried
a few from the internet. it's killing me (i am not stupid - lots of c#
experience):
<?php
if(!empty($_POST)){
foreach($_POST as $key => $value){
//'hello' should be a key:
echo "$key:$value\n";
}
}
?>
Navigation:
[Reply to this message]
|