Skip to content
Advertisement

I can’t seem to get my post form working correctly in PHP, despite hours of troubleshooting as well as it being a relatively simple program

I’m new to PHP and am having trouble with what seems like a relatively simple program. I can’t get my $_POST['Username'] to equal my $temp and therefore never echo'success!'; even if i echo every check and i can physically see that they equal, success never prints. Any help is greatly appreciated <3.

JavaScript

Picture of the output using a textfile with the letters a – e

image

Advertisement

Answer

replace

JavaScript

with

JavaScript

you probably have some space or something in your file

to better understand what is going on you can try to replace

JavaScript

with

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement