Monday, 22 August 2016

Stack Using Array

//Girfa Student Help stack using array
#include<iostream.h>
#include<conio.h>
#define MAX 5
void main()
{
int ar[MAX],top=-1,i,opt;
do
{
clrscr();
cout<<"\n\t1. Push\n\t2. Pop\n\t0. Exit\n\tEnter your choce>> ";
cin>>opt;
switch(opt)
{
case 1:

Face stone effect

Face stone effect

Face stone effect

Step 1

  • ·         Open your image
  • ·         And select face area of girl

Sunday, 21 August 2016

Getting ID of Last inserted row in PHP

In web designing there are many reasons when we need to last inserted record id. You can do it with PHP if you will use auto increment in ID. Following code guide you to achieve this.

                                       $servername = "localhost";
$username = "root";
$password = "your password";
$dbname = "your db name";

// Create connection
$conn = mysqli_connect($servername, $username, $password, $dbname);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}

Saturday, 20 August 2016

Water Transparent Effect

Step 1
  • ·         Open your image
  • ·         Duplicate layer