Anmelden | Registrieren | FAQ
Anonymous

How do I incorporate a php script login into my index.html?

+ Antwort erstellen

3 Beiträge Seite 1 von 1


How do I incorporate a php script login into my index.html?

von MattAufiero » Di Okt 11, 2016 8:14 pm

Hello all, I am currently trying to develop my first site from scratch and am teaching myself html css and php to do it. I have made some good progress with html and css, but now when I try to incorporate my php in the the index.html (I did change the file to index.php before testing) nothing shows up in the browser. I am wondering what is going on before I had a beautiful front end and then when I tried to add in a login system with php scripts and changed the file to index.php nothing shows up in the browser the page is just blank.
Benutzeravatar

MattAufiero

  • Beiträge: 1
  • Registriert: Di Okt 11, 2016 8:07 pm

Re: How do I incorporate a php script login into my index.ht

von nanoverso » Mo Okt 17, 2016 11:33 pm

Make sure your index.php file is on a PHP enabled web server.
Benutzeravatar

nanoverso

  • Beiträge: 253
  • Registriert: Sa Mai 10, 2014 12:08 am
  • Wohnort: Brazil

Re: How do I incorporate a php script login into my index.ht

von Kavithaa » So Nov 20, 2016 9:51 pm

If you have error in your php code then you may see a blank page. Make sure you have properly closed all your php tags.

And try logging error in the console to track the issue. Alternatively you can echo the o/p in the browser and trace the line having errors.

You can refer this tutorial php mysql login & registration system.

http://www.kodingmadesimple.com/2016/01/php-login-and-registration-script-with-mysql-example.html

I hope that helps.
Benutzeravatar

Kavithaa

  • Beiträge: 4
  • Registriert: Mi Nov 16, 2016 9:18 pm
  • Wohnort: India


+ Antwort erstellen

Seite 1 von 1