Thứ Hai, 27 tháng 8, 2018

Auto news on Youtube Aug 27 2018

in this video

we learn about

the login and logout

system in php

here i am loging in with the

datbase previously created

i have logged in with

the user name admin and a plane password

after login it displays

welcome massage

and on logged out

it displays the login link

now we get back to the code

here

i am using

sublime text editor

now on this document

i have deleted all

php coding

now its an html login form

i hope you must know all

about html forms and its attributes

now start with

the <?php tag and close it with ?>

between these tags all php

coding will be written

at first start the session

now connect to the database

using MySQLi query

i am using database

previously created

put three variables inside the mysqli_connect function

host name, user name,and the password

now keep in mind

every step shown here

must make habit to assign variable to each step

now $con hold the connection

now use it as connection in every mysqli_query

Không có nhận xét nào:

Đăng nhận xét