Page 1 of 1

PHP Register Form > Code appears on the form

PostPosted: 19. September 2010 23:26
by ScienceGuy22
When I type in the code
<? Php
echo "<h1> Registration </ h1>";

Submit = $] $ _POST ['submit';

/ / Form data
$ FullName = $ _POST ['Full Name'];
$ Username = $ _POST ['username'];
$ Password = $ _POST ['password'];
$ Repeat Password = $ _POST ['repeat password'];


if ($ submit)
(

echo "$ username / $ password / $ repeat password / $ FullName ';

)

?>

All this has happened, it shows the encoding at the top of my form when I try to preview in Firefox ... I have this code on the top scrpt and before <html> Tagg

why does it do this
?

Image

Re: PHP Register Form > Code appears on the form

PostPosted: 20. September 2010 05:00
by Altrea
Look at your first post.

double-post don't speed up answering your posts.

Re: PHP Register Form > Code appears on the form

PostPosted: 20. September 2010 23:05
by ScienceGuy22
Well my other post was in GERMAN. If you're not going to help, don't post.