Saturday, January 23, 2016

Bangla PHP OOP and MySQLi CRUD Tutorial (Part-01)

 $fonts = "verdana";
 $bgcolor = "#444";
 $fontcolor = "#fff";

<!doctype html>
 <title>PHP OOP CRUD</title>
  body{font-family:<?php echo $fonts;?>}
  .phpcoding{width:900px; margin: 0 auto;
   background:<?php echo "#ddd" ?>;}
  .headeroption, .footeroption{background:<?php echo $bgcolor; ?>;
   color:<?php echo $fontcolor; ?>;text-align:center;padding:20px;}
  .headeroption h2, .footeroption h2{margin:0;font-size:24px}
 select{font-size:18px;padding:2px 5px;width:250px;}
 .tblone{width:100%;border:1px solid #fff;margin:20px 0}
 .tblone td{padding:5px 10px;text-align:center;}
 table.tblone tr:nth-child(2n+1){background:#fff;height:30px;}
 table.tblone tr:nth-child(2n){background:#f1f1f1;height:30px;}
 #myform{width:400px;border:1px solid #fff;padding:10px;}

<div class="phpcoding">
 <section class="headeroption">
  <h2><?php echo "CRUD Using OOP PHP and MYSQLi"; ?></h2>
  <section class="maincontent">
<?php include 'inc/header.php'; ?>
<?php include 'inc/footer.php'; ?>
<section class="footeroption">
 <p>© <?php echo date("Y"); ?> Training with live project</p>
  <h2><?php echo ""; ?></h2>

Code for Database Class and config.php :- Check Here.

How to practice tutorials…

  • Make a team with your friends (Member should be 4/5).
  • Start to practice one tutorial series along with them.
  • Don’t try to collect source code. Type the code while watching the tutorial.
  • If you face any problem, discuss with team members to solve quickly.