Country dropdown

MySQLi Essentials

INTRODUCTION

MySQLi is a Relational SQL database management system. MySQLi is used inside the PHP programming language to give an interface with MySQL databases. This course will give you quick start with MySQLi and make you comfortable with MySQLi programming.

TARGET AUDIENCE

This course has been prepared for the beginners to help them understand the basics to advanced concepts related to MySQLi languages.

PREREQUISITES

Before you start doing this course , one should have basic understanding of MySQL database, and a knowledge of PHP is recommended for this course.

DURATION

10 days

COURSE OBJECTIVES OF MySQLi

  • An object-oriented interface
  • Support for prepared statements
  • Support for multiple statements
  • Support for transactions
  • Enhanced debugging support
  • Embedded server support

 

In this course you will learn MySQLi, a way to connect to databases within PHP. It covers connecting to the database, and using all the features required to build fast, scalable applications that use a database connection. It covers essential concepts like security, and best practices with using the data retrieved from the database. A knowledge of PHP and MySQL is recommended for this course.

 

COURSE CONTENT

Introduction  

Setup

  • Install and configure a PHP editor
  • Install and configure a PHP and MySQL package (XAMPP suggested)
  • Set up a PHP and MySQL site online
  • Overview of PHP, basic syntax of PHP, creating a php “island”, using a .php extension
  • Create a simple PHP page

Statements, variables, operators, comments, functions, scope

  • Writing your own code in PHP pages
  • Creating and using variables; assignment statements; types of variables; variable naming
  • Operators, comments, built-in functions
  • Variable scope: local, global, superglobals ($_GET, $_POST, $_SESSION, etc.)
  • Basic debugging: develop the ability to understand PHP error messages and use them to debug written code.

Arrays and Control Structures

  • Simple and associative arrays
  • If, else, while, for, foreach (optional: switch)
  • Error handling with try…catch

Structured PHP programming

  • User-defined functions, passing variables (optional: returning a value)
  • Includes 

Database concepts and SQL

  • Database concepts: Fields, records, relational database, types of relationships, normalization
  • SQL: Syntax of most common SELECT statements, keywords, INSERT, UPDATE, DELETE
  • Optional: DDL example (CREATE DATABASE or CREATE TABLE)

MySQL

  • PHPMyAdmin
  • Create a user account, a database, a table; data types and storage engines (InnoDB)
  • Exporting and importing a database and tables with PHPMyAdmin

Using MySQL with PHP

  • Connect to a database with PDO; PDO vs mysqli
  • Writing and executing SQL statements with PHP and PDO
  • SELECT data from 2 related tables and display it on a webpage

Processing forms with PHP

  • Collect data in a form, submit to a processing page
  • Display data submitted by the form in a processing page
  • Security: sanitizing data to prevent SQL Injection, buffer overflow, etc.
  • Insert data from a form into a database with INSERT (Optional: DELETE and/or UPDATE)
  • Email the submitted data (PHPMailer)
  • Server-side validation of form data with “if” statementsGetting Started with MySQLi
  • Connecting To A Database
  • Connecting Using PHP
  • Creating a Database Table

Security

  • Escaping
  • Prepared Statements for Inserting
  • Selecting Prepared Statements

Finishing Up

  • Freeing Results
  • Closing the Database Connection

 

METHODOLOGY

The instructor led trainings are delivered using a blended learning approach and comprise of presentations, guided sessions of practical exercise, web based tutorials and group work. Our facilitators are seasoned industry experts with years of experience, working as professional and trainers in these fields.

All facilitation and course materials will be offered in English. The participants should be reasonably proficient in English.

ACCREDITATION

Upon successful completion of this training, participants will be issued with an Indepth Research Services (IRES) certificate.

 TAILOR- MADE

This training can also be customized for your institution upon request to a minimum of 4 participants. You can have it delivered in our IRES Training Centre or at a convenient location.

For further inquiries, please contact us on 

Tel: +254 (020) 211 3814.

Mob: +254 715 077 817, +254 731 240 802, +254 735 331 020.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it..

TRAINING VENUE

The training is residential and will be held at IRES Training Centre. The course fee covers the course tuition, training materials, two break refreshments, lunch, and study visits.

All participants will additionally cater for their, travel expenses, visa application, insurance, and other personal expenses.

ACCOMMODATION

Accommodation is arranged upon request. For reservations contact the Training Officer.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it..

Mob: +254 715 077 817

Tel: 020 211 3814

PAYMENT

Payment should be transferred to IRES account through bank on or before C.O.B 13th May 2019

CANCELLATION POLICY

Payment for the all courses includes a registration fee, which is non-refundable, and equals 15% of the total sum of the course fee.

  1. Participants may cancel attendance 14 days or more prior to the training commencement date.
  2. No refunds will be made 14 days or less to the training commencement date. However, participants who are unable to attend may opt to attend a similar training at a later date, or send a substitute participant provided the participation criteria have been met

Please Note: The program content shown here is for guidance purposes only. Our continuous course improvement process may lead to changes in topics and course structure.

 

Event Properties

Event Duration 10 Days
Event Date 20-05-2019
Event End Date 31-05-2019
Cut off date 13-05-2019
Individual Price(Kenyan) KES 139,000
Individual Price (International) EUR 1,196
Individual Price(International in Dollars) USD 1,356
Location Nairobi, Kenya
We are no longer accepting registration for this event
Share this event:

Contact Us

+254 715077817 | +254 792516000
outreach@indepthresearch.org
Westlands, Rhapta Road
Njema Court, Suite R2

Search