Good day everyone, I am going to create my new tutorial called "Simple Profile Information Page". In this tutorial you can integrate my previous code on How to Create Registration Page in PHP/MySQL and on How to Create Login Page in PHP/MySQL.
To start with, follow the steps below. 
Create a Registration Page
First, follow the instruction on 
How to Create Registration Page in PHP/MySQL.
Create a Login Page
Next, create login page by the following the tutorial on 
How to Create Login Page in PHP/MySQL.
Creating a Profile Page
After following the procedure above, create a file and save it as home.php. This code will display the profile of the member after registration. To create a form, open your favorite HTML code editor and paste the code below after the body tag.
- <?php 
- require_once('connection.php'); 
- $id=$_SESSION['SESS_MEMBER_ID']; 
- $result3 = mysql_query("SELECT * FROM member where mem_id='$id'"); 
- {  
- $fname=$row3['fname']; 
- $lname=$row3['lname']; 
- $address=$row3['address']; 
- $contact=$row3['contact']; 
- $picture=$row3['picture']; 
- $gender=$row3['gender']; 
- } 
- ?> 
- <table width="398" border="0" align="center" cellpadding="0"> 
-   <tr> 
-     <td height="26" colspan="2">Your Profile Information </td> 
-         <td><div align="right"><a href="index.php">logout</a></div></td> 
-   </tr> 
-   <tr> 
-     <td width="129" rowspan="5"><img src="<?php echo $picture ?>" width="129" height="129" alt="no image found"/></td> 
-     <td width="82" valign="top"><div align="left">FirstName:</div></td> 
-     <td width="165" valign="top"><?php echo $fname ?></td> 
-   </tr> 
-   <tr> 
-     <td valign="top"><div align="left">LastName:</div></td> 
-     <td valign="top"><?php echo $lname ?></td> 
-   </tr> 
-   <tr> 
-     <td valign="top"><div align="left">Gender:</div></td> 
-     <td valign="top"><?php echo $gender ?></td> 
-   </tr> 
-   <tr> 
-     <td valign="top"><div align="left">Address:</div></td> 
-     <td valign="top"><?php echo $address ?></td> 
-   </tr> 
-   <tr> 
-     <td valign="top"><div align="left">Contact No.: </div></td> 
-     <td valign="top"><?php echo $contact ?></td> 
-   </tr> 
- </table> 
- <p align="center"><a href="index.php"></a></p> 
That’s it! You’ve been successfully created your simple profile page with registration and login, see you in my next tutorial.