Zaloguj | Zarejestruj | FAQ
Anonymous

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

+ Odpowiedz

Posty: 3 Strona 1 z 1


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

przez MattAufiero » Wt paź 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.
Avatar użytkownika

MattAufiero

  • Posty: 1
  • Dołączył(a): Wt paź 11, 2016 8:07 pm

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

przez nanoverso » Pn paź 17, 2016 11:33 pm

Make sure your index.php file is on a PHP enabled web server.
Avatar użytkownika

nanoverso

  • Posty: 253
  • Dołączył(a): So maja 10, 2014 12:08 am
  • Lokalizacja: Brazil
--
Free VST Plugins Download.

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

przez Kavithaa » N lis 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.
Avatar użytkownika

Kavithaa

  • Posty: 4
  • Dołączył(a): Śr lis 16, 2016 9:18 pm
  • Lokalizacja: India


+ Odpowiedz

Strona 1 z 1