PHP Register Form > Code appears on the form

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP Register Form > Code appears on the form

Postby ScienceGuy22 » 19. September 2010 23:26

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
ScienceGuy22
 
Posts: 14
Joined: 28. August 2010 09:08

Re: PHP Register Form > Code appears on the form

Postby Altrea » 20. September 2010 05:00

Look at your first post.

double-post don't speed up answering your posts.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: PHP Register Form > Code appears on the form

Postby ScienceGuy22 » 20. September 2010 23:05

Well my other post was in GERMAN. If you're not going to help, don't post.
ScienceGuy22
 
Posts: 14
Joined: 28. August 2010 09:08


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 113 guests