Category Archives: PHP examples

How to insert data to a SQL table in PHP

Hello people, today I am going to show you how to insert data to a table in SQL from PHP.

Posted in PHP examples | 1 Comment

PHP “session” and a logout example

In the previous blog post I have showed you a login example. Today I am going to show how we can logout from a web site which we have logged. Further more I am going to use session variables in PHP … Continue reading

Posted in PHP examples | 1 Comment

Login example for PHP

Following image shows the simple form that I am going to use as login window. Some important code phases relevant to above GUI is as follows. … form id=”form1″ name=”form1″ method=”post” action=”login.php” … input type=”text” name=”textfieldUsernameName” id=”textfieldUsernameId” … input type=”password” … Continue reading

Posted in PHP examples | 2 Comments