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 

Friday 19 August 2016

July, 2010 M4.3-R4: INTRODUCTION TO ICT RESOURCES

O Level
July, 2010
M4.3-R4: INTRODUCTION TO ICT RESOURCES

NOTE:
1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and
PART TWO contains FIVE questions.
2. PART ONE is to be answered in the TEAR-OFF ANSWER SHEET only, attached to the
question paper, as per the instructions contained therein. PART ONE is NOT to be
answered in the answer book.
3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However,
candidates, who complete PART ONE earlier than one hour, can collect the answer book for
PART TWO immediately after handing over the answer sheet for PART ONE.

TOTAL TIME: 3 HOURS TOTAL MARKS: 100
(PART ONE – 40; PART TWO – 60)

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most
appropriate one and enter in the “tear-off” answer sheet attached to the question
paper, following instructions therein. (1x10)
1.1 What is the most important role of BIOS?
A) loading the operating system
B) initializing Input/Output devices
C) initiating the microprocessor
D) running applications MIDI means
1.2 Which of the following is a special database that holds key information about your system
including the device drivers?
A) BOOT.INI
B) CONFIG.SYS
C) Registry
D) SYSTEM.INI

January, 2011 M4.3-R4: INTRODUCTION TO ICT RESOURCES

O Level
 January, 2011
M4.3-R4: INTRODUCTION TO ICT RESOURCES

NOTE:
1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and
PART TWO contains FIVE questions.
2. PART ONE is to be answered in the TEAR-OFF ANSWER SHEET only, attached to the
question paper, as per the instructions contained therein. PART ONE is NOT to be
answered in the answer book.
3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However,
candidates, who complete PART ONE earlier than one hour, can collect the answer book for
PART TWO immediately after handing over the answer sheet for PART ONE.

TOTAL TIME: 3 HOURS TOTAL MARKS: 100
(PART ONE – 40; PART TWO – 60)

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)

1.1 The device which allows you to enter data into the computer
A) mouse
B) keyboard
C) floppy disk
D) scanner
1.2 The name given to a device that is attached to a computer.
A) program
B) CPU
C) peripheral
D) registry