0

How can i connect php with bootstrap for creating a log in form using mysql..?

29th Jan 2017, 10:14 AM
Jayed Hassan
Jayed Hassan - avatar
3 odpowiedzi
+ 5
You can put html codes in php files. Connect your database with php using mysqli_connect.
29th Jan 2017, 10:22 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
$con = mysqli_connect("your host", "your username", "your password", "default database") You need to make a user account and a database as well as a web server. And make sure you do <?php ?> if you are inserting php to the file.
29th Jan 2017, 10:27 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
Can u give the code to connect php with database..?
29th Jan 2017, 10:26 AM
Jayed Hassan
Jayed Hassan - avatar