strange.

look into the sourcecode of your output-page, whether there is more
information (html-tags, i.e.).
and try var_export($_POST); instead of you echo to see what information come
with post.

maybe it's your server/php config. your code works for me.

ciao SVEN

"Kyle W. Cartmell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Given a page containing a form which posts data to another page...

<HTML>

<BODY>

Please enter a string.<BR>

<FORM method="post" action="nextpage.php">
<INPUT type="text" name="wakka">
<INPUT type="submit" name="submit">
</FORM>

</BODY>

</HTML>

And a page which accepts this data...

<HTML>

<BODY>

<?PHP

   echo $_POST['wakka'];

?>

</BODY>

</HTML>

If I type "blueberry_muffins" into the text field and click submit, the
resulting output is as follows...

blueberry_muffinswakka=blueberry_muffins

However the output I expected was, of course...

blueberry_muffins

Have you ever seen anything like this?
Am I doing something wrong?
Do you need more information?

Thanks! :)

Kyle W. Cartmell
- a mildly confused PHP newb



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to