+ 1
Can anyone help me to create a registration webpage,using php and SQL.
I tried to create a registration webpage using php and SQL, but it was unsuccessful. I use MAMP for local web hosting. Can someone give me a solution and proper source code https://code.sololearn.com/WFo9TDH5DAL8/?ref=app
13 RĂ©ponses
0
any error ? you can also post the piece of code that possibly cause the error here.
0
can you explain what part is unsuccessful ?
0
The php part is not working, it displays the code itself while clicking Sign up.
And many other errors, you can check while running the code
0
you cant run the code in playground. it doesnt design to render a php code.
did you get any error when running in your MAMP ?
0
It says " FORBIDDEN
You don't have permission to access /<on this server
0
its looks like a problem with MAMP, not the code itself.
i dont use MAMP myself, but you should check your file structure inside MAMP , is it in htdocs, does your file has its own folder, did you use the right link to the file, etc. also try to restart MAMP sometimes it help.
0
Now it says that
Could not connect. Access denied for user 'root'@'localhost'(using password: NO)
Which application do you use for local web hosting?
0
its probably a database connection error, are you sure root doesnt have a password ?
make sure you can login to your database from terminal using root as the username.
i was using xampp.
0
Okay
Thanks a lot for your help, I will try Xampp later. Could you check if there is any errors in my codes if possible?
0
just a quick look, i dont see any problem. i cant check throughly its so late here, so maybe there are some that i missed. but i pretty sure php will show the error if there;s any
0
You can try your using XAMPP that allows you to use your local host as a personal server. This also compile php can you try your code there to discard any errors of MAMP it's because I don't see any errors on including the php
0
use xampp webserver it is common for all platforms
Note : Make sure that IIS ( Internet Information Services) ASP server is stopped
since ASP and PHP servers run on same port no : 80
it is not possible to run different servers with same port no at a time