Posted by Rami Elomaa on 05/29/07 16:06
vinnie kirjoitti:
> I have this form:
>
> <form action="http://www.XXXXXXX.com/form.php" method="post"
> name="form1" target="_blank" id="form1">
> <label>Nome
> <input name="<b>name</b>" type="text" maxlength="45" />
Remove the <b></b> from input name.
> </label>
> <p>
> <label>Last
> <input name="last name" type="text" dir="ltr" maxlength="45" />
> </label>
> </p>
>
> now, i have made this php script just to echo the value in "name" and
> "last" but it doesn't work:
>
> <?php
> print("$_POST['name']");
> print("thanks, see you soon");
> ?>
>
> what's the error?
>
You can test what was posted with
print_r($_POST);
It's often very helpful in debugging the input data.
--
Rami.Elomaa@gmail.com
"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
Navigation:
[Reply to this message]
|