Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Size: px
Start display at page:

Download "Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL."

Transcription

1 Hello everyone! Welcome to our PHP + MySQL (Easy to learn) E.T.L. free online course Hope you have installed your XAMPP? And you have created your forms inside the studio file in the htdocs folder using bootstrap? Your folder should look like this 1 To start with Run your XAMPP app and start your Apache and MySQL.

2 Run your text editor and open your studio folder in your htdocs. Display of my index.php 2 Now, let me explain two important features that we will be working with in the forms. Figure 1: Display of the form layout (line 24-35) of our login-form.php

3 <form action="" method="get"> line 24 The Action Attribute The action attribute defines the action to be performed when the form is submitted. Normally, the form data is sent to the web page on the server when the user clicks on the submit button. In the example above, the form data is not sent to any page on the server it is processed in this same file that is why action= (i.e. it is blank). 3 The Method Attribute The method attribute specifies the HTTP method (GET or POST) to be used when submitting the form data: DIFFERENCE BETWEEN GET AND POST For a GET request, whatever you input in the form is shown in the URL (top of the browser), then, the server picks it from there and uses it to fetch/process information required. It uses the global GET variable ($_GET). Open your login-form.php in your preferred browser by typing localhost/studio/login-form.php as URL, then input any and password of your choice as shown in the image below. Figure 2: Example of global GET variable($_get) The details are moved to the URL on clicking the submit button for GET method

4 Now, change the form to post method as shown on line 29 in the image below and add these new lines of codes (line 1 to line 7) as shown in the image below to view what we posted. It uses the global POST variable ($_POST); Figure 3: Changing to post method in my text editor (Example of POST) 4

5 Figure 4: Result in my browser after clicking the login button 5

6 CODE EXPLANATION The input value of the and password is what is displayed in Fig. 4. If you look at the form layout in Figure 3, every input as a name= name (Fig. 3, line 32, 36 and 38) property added to it, the name is what the form attach to any information one inputs in the form entry. Another important php function is the conditional statement. In PHP we have the following conditional statements: if statement - executes some codes if one condition is true if...else statement - executes some codes if a condition is true and another code if the condition is false if...elseif...else statement - executes different codes for more than two conditions switch statement - selects one of many blocks of code to be executed If statement Syntax if (condition) { code to be executed if condition is true; } if...else statement Syntax if (condition) { code to be executed if condition is true; } else { code to be executed if condition is false; } if...elseif...else statement Syntax if (condition) { code to be executed if this condition is true; } elseif (condition) { code to be executed if this condition is true; } else { code to be executed if all conditions are false; } 6 Switch statement Syntax switch (n) { case label1: code to be executed if n=label1; break; case label2: code to be executed if n=label2; break;... default: code to be executed if n is different from all labels;

7 } LASTLY is the php isset function (Fig. 3 line 2) it is used to determine if a variable is set and not NULL, here it is used to determine if the button Login is posted. NOW LETS MOVE INTO OUR PROJECT PROPERLY Step 1: Type the lines circled in red as shown in the image below in your index.php to make everyone login before viewing our website. Figure 5: PLEASE NOTE THAT I JUST MINIMIZED THE CODES, EVERYTHING IS STILL INTACT. Just add the new lines of codes 7

8 Figure 6: Type localhost/studio" it takes you to the login form 8 CODE EXPLANATION The conditional statement (line 59 fig. 5) checks if a user is login else it will automatically redirects users to login page and can also sign-up using the click here to Register in the login area. The header function on line 161 fig. 5 inside the else statement is used to redirect them to login page. SIGN-UP PAGE FORM PROCESSING. Step 1: Capture the user details. We do that using the method we had already discussed above in fig.3 and 4. Type the following lines of code (line 1-11) in your signup-form.php

9 Sign-up 1 9 Below is how the echo on line 8 in the image above will be displayed: If you fill the form and click the register button Your inputs are: (Note: <br> tag is what takes it to another line) Username: Input name Input Password: Input password

10 You can view the display in my browser below 10 Step 2: Save the information. To do this we need a database. What is a database? A database is a collection of data that is made of tables where each table stores similar information. A table is made up of rows and columns. We use relational database management systems (RDBMS) to store and manage huge volume of data. This is called relational database because all the data is stored into different tables and relations are established using primary keys or other keys known as foreign keys. With PHP, you can connect to and manipulate databases. MySQL is the most popular database system used with PHP. From the link below we will see that MySQL is widely used by top web apps in the world today e.g. Twitter, Yahoo, Facebook, Wikipedia, WordPress etc. What is MySQL? MySQL is an open source relational database management system (RDBMS) based on Structured Query Language (SQL). Some of the Most Important SQL Commands SELECT - extracts data from a database UPDATE - updates data in a database DELETE - deletes data from a database INSERT INTO - inserts new data into a database CREATE DATABASE - creates a new database

11 ALTER DATABASE - modifies a database CREATE TABLE - creates a new table ALTER TABLE - modifies a table DROP TABLE - deletes a table CREATE INDEX - creates an index (search key) DROP INDEX - deletes an index N.B: when writing MySQL statements we write MySQL command/syntax in uppercase and the user syntax in lower case. For example CREATE DATABASE studio; This command creates a database in the local server and name the database studio ; 11 There are two ways to work with the MySQL server 1. Using phpmyadmin from XAMPP Click on the Admin has circled in the image below to access MySQL phpmyadmin portal 2. Using PHP. N.B: In this project we will be using php with MySQL to connect to and query the database Now let us connect to the XAMPP server Comment out or remove the previous codes in your signup-form.php from lines 3 9 as shown in the image Sign-up 1 above, then Type the following codes from line 3 to 23 in your signup-form.php as shown in the image Sign-up 2 below.

12 Sign-up 2 12

13 If you get the echo message displayed then your connection is successful else the code on line 12, the die ( ) function will kill the page and display an error page. 13 CODE EXPLANATION: The php function mysqli_connect ( ) (line 8) is responsible for the connection. It takes three parameters server name, server username and server password. If the connection is successful then you get the phrase echo Connected successfully. The default server name is localhost, username is root and password is (empty). N.B: The MySQL Database Server username and password is different from the one the user entered. This is the entry to the MySQL Database Server that allows user to store different information. Now let s create our first database; Type the following lines (16-22) but first comment out line (11-14) in your signup-form.php

14 Sign-up 3 14 Display in my browser:

15 Display in my localhost/phpmyadmin when I created my database studio. 15 Now let s create our first MySQL table. What is a MySQL table? A table is made up of columns and rows. Columns are like categories with each column containing specific category/detail. A row is an entry in the table. For example: COLUMNS ROWS The example above has 6-columns and 5-rows.

16 Type the following lines of code (25-39) to create your table in your signup-form.php file, comment out line 11-23; include line 6 and line 9 Sign-up 4 N.B: line 6 and 9 (inclusion of $DBname) 16 CODE EXPLANATION To create a table in MySQL we need to name the column(s) and the properties of each column. To create a table, the first thing is to select the database (line 6 and 9). We do that by adding variable DBname = studio and include it in our connection. Run the SQL as shown on line Line is to make sure that the table was created else we will get an error. The table has Six(6) columns which are 1) user_id(for serial numbers of users), 2) username(to store the username a user inputs), 3) (for user s), 4) password(for user password), 5) reg_date(to capture the registration date), 6) login_status(to check if user is login or not); THE SQL EXPLANATION: The columns require data-type and length INT (11): Use to denote that the column will store only integers (Numeric value) and the length is 11 digits. VARCHAR (30): For column to store variables and character upto length of 30. Varchar can contain letters, numbers and symbols. TIMESTAMP: for column to store info in date and time format BOOLEAN: for data in the column to be stored using True or False. 1 for True and 0 for False. Don t forget to save and make sure you comment out (add // in front of all other codes) as shown above then

17 refresh your browser. Result in my browser: The echo message on line 36 is displayed if no error 17 Display in my localhost/phpmyadmin when I created the table registration.

18 NOW we can INSERT user s information to the database using the MySQL insert statement; Uncomment lines then type lines as shown below in the image Sign-up 5 Sign-up 5 18 CODE EXPLANATION: To insert inside the database table that we created earlier we need to make sure that we are connected to the server and we are also inserting into the database and the table name tallies with that on our database. Line 22 is the SQL syntax for inserting inside our database and if you check the values ($user, $ and $pword) you will observe that it is the information that the user input. Line is to confirm if the information entered were stored in the database table and it displays the echoed message else we will get an error. IMPORTANT NOTE : Press the register button only once (to avoid uploading empty data).

19 19 Display in my localhost/phpmyadmin when I inserted the first record Now let s view the details we input in the database using php function. Add these lines of codes (16-31) to the signup-form.php, comment out line (33-47) using // as shown in the image Sign-up 6 below.

20 Sign-up 6 20

21 CODE EXPLANATION: the outputs were explained in the following steps 1. We created connection to server (line 2-9) as explained earlier 2. Check the connection using the conditional statement on line We use MySQL passed through a $sql and php function mysqli_query to capture all the users information on the database. 4. Using the mysqli_num_row function, If the sql query return some result that means there is a user on the database table. 5. We declared an empty $datas array (line 22) to store all the information the query generates using while loop on line (24-27) 6. We used the $datas [ ] to capture the info inside the loop and add it to the empty $datas array that we declared on line Line was used to output all the information using print_r() function and the <pre></pre> tag for nice outputs as shown below 21

22 Now let s apply some validation to avoid repetitions and upload of empty forms. Let us add these lines of codes (line in our signup-form.php ) (make sure you comment out line as shown in the image sign-up 7 below) Sign-up 7 22 CODE EXPLANATION: The trim ( ) function (line34 and line 36) is used to wipe off empty space and the conditional statement (line 39-52) is used to check if the $user for username and $pword for password is not empty. If it is, it will alert a message as stated on line 51 in the image above. Alert is a JavaScript function for pop-up. Figure 7: If the form is EMPTY Figure 8: If the forms were filled correctly

23 Now let s add some restrictions to avoid repetition of name and/or . Replace the codes after the line if (!empty($user && $pword) { (that is line 39) as shown in the image (sign-up 7 above) with the lines of codes (line 37 to 70) as shown in the image below(sign-up 8): Sign-up 8 23 CODE EXPLANATION: line is used to check if the user name or exists? First we query the database to check if the input username or is in the database using $sql and mysqli_query function (line 39 and 40)? We use line 44 to check If the query return result. If num_rows is greater than 0, it means the information already exist so we echo an alert. Line is what is used to check if it is the input username or the . Also note the closing curly braces on line 66.

24 CHALLENGE (10MINS) ADD validation to the Login page: I believe we can now connect to the database (server) connection, capture users input and perform query. You can follow the following step to achieve that. 1. Create connection to server 2. Check the connection 3. Use isset function to capture the information the user inputs in the login form 4. Perform sql query to check if that input data (username and password) is on the database table 5. Use conditional statement to a. Update the login status to true using update sql query, if the information is on the database table and b. redirect the user to the index page or login page if information is not correct with a display message 24 SOLUTION How was the challenge? Below is my solution Type the lines of code (line 1 to 62) as in shown in the image below (Login 1) in your login-form.php to add validation to the file. Login 1

25 25

26 26 Figure 9: Display in my browser when i logged in with correct and password CODE EXPLANATION: The header ( location: index.php?user={$row_check[ username ]} ) on line 42 is to add the url of the display page. We use the question mark? as a $_GET request to the url. It is similar to sending a form with method= GET. Then, we pick the information from there and use it for other purpose. Display in my localhost/phpmyadmin Note: The login_status is now 1 ;

27 27

28 FINALLY let s add logout form and restriction to this page and make sure the user is logged in and not manipulating the url. Now go to the index.php and add the log-out form and the restriction. Kindly enter the following lines from line 59 to 116, then lines 186 to 194, 213 to 217 as shown in the image below 28

29 29 We use the following steps to achieve that Create connection to server(database){line 59-62} Check the connection(kill the page if not server not found) {line 68-70} Use isset ($_GET function) to capture the information that was loaded from the login page in the URL to check if a user is logged in. Else redirect to login page. {line 73-91, ending part } Echo the Logged in user name in our display website {line 192} Create a form {line inside our header div} Perform sql query to update user login status to false if user logout {line } Use conditional statement to redirect the user to the login page and display some error message if there is any error. {line }

30 The image below depicts how our website is after a user has logged in 30 Display in my localhost/phpmyadmin when I log out Note: The login_status is now 0 ;

31 Dear Programmers, It has been an honour as well as a privilege to walk you through this tutorial. In the next class we will be learning PHP/MySQL + AJAX where we would make changes occur without leaving a page. Kindly go through all the note from the beginning to the end. Try to understand any part you are having difficulty with. Thank you very much for your time. All-Tech Systems & Co. Excellence, Satisfaction, Integrity & Simplicity...! 31

PHP BASICS BY ALL-TECH SYSTEMS & CO

PHP BASICS BY ALL-TECH SYSTEMS & CO LET S GET STARTED PHP BASICS BY PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. To start with PHP, you must have an idea about the following 1. HTML

More information

Advanced Web Tutorial 10

Advanced Web Tutorial 10 Advanced Web Tutorial 10 Editor Brackets / Visual Studio Code Goals Creating a blog with PHP and MySql. - Set up and configuration of Xampp - Learning Data flow using Create/Read/Update and Delete Things

More information

INTRODUCTION TO JAVASCRIPT

INTRODUCTION TO JAVASCRIPT INTRODUCTION TO JAVASCRIPT Overview This course is designed to accommodate website designers who have some experience in building web pages. Lessons familiarize students with the ins and outs of basic

More information

Jackson State University Department of Computer Science CSC / Advanced Information Security Spring 2013 Lab Project # 3

Jackson State University Department of Computer Science CSC / Advanced Information Security Spring 2013 Lab Project # 3 Jackson State University Department of Computer Science CSC 439-01/539-02 Advanced Information Security Spring 2013 Lab Project # 3 Use of CAPTCHA (Image Identification Strategy) to Prevent XSRF Attacks

More information

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Web development using PHP & MySQL with HTML5, CSS, JavaScript Web development using PHP & MySQL with HTML5, CSS, JavaScript Static Webpage Development Introduction to web Browser Website Webpage Content of webpage Static vs dynamic webpage Technologies to create

More information

Mysql Tutorial Create Database Username Password Through Phpmyadmin

Mysql Tutorial Create Database Username Password Through Phpmyadmin Mysql Tutorial Create Database Username Password Through Phpmyadmin Convert plain text to MD5 Hash and edit your MySQL Database. Every WordPress blog uses a MySQL Database which can be accessed through

More information

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Working with Forms: A very popular way to make a web site interactive is using HTML based forms by the site. Using HTML forms,

More information

The connection has timed out

The connection has timed out 1 of 7 2/17/2018, 7:46 AM Mukesh Chapagain Blog PHP Magento jquery SQL Wordpress Joomla Programming & Tutorial HOME ABOUT CONTACT ADVERTISE ARCHIVES CATEGORIES MAGENTO Home» PHP PHP: CRUD (Add, Edit, Delete,

More information

Title: Tech Training Certificate: Ace of Initiative Program. Presented By Rajmahendran P Business analyst & IT Manger

Title: Tech Training Certificate: Ace of Initiative Program. Presented By Rajmahendran P Business analyst & IT Manger Title: Tech Training Certificate: Ace of Initiative Program Presented By Rajmahendran P Business analyst & IT Manger Why PHP important? Within 4 to 6 year Every Business will have Website Every Shop Will

More information

Chapter 7 PHP Files & MySQL Databases

Chapter 7 PHP Files & MySQL Databases Chapter 7 PHP Files & MySQL Databases At the end of the previous chapter, a simple calendar was displayed with an appointment. This demonstrated again how forms can be used to pass data from one page to

More information

The MANUAL. 1 P a g e

The MANUAL. 1 P a g e The MANUAL 1 P a g e http://wasimrlis.blogspot.in https://coprofessionals.wordpress.com 2 P a g e Guided to search tools are used to help library users to find the resources they are seeking. Originally

More information

Installing WordPress CMS

Installing WordPress CMS Installing WordPress CMS Extract the contents of the wordpress zip file to D:/public_html/wordpress folder as shown in diagram 1. D:/public_html/wordpress is a virtual domain controlled by Apache Web server

More information

Static Webpage Development

Static Webpage Development Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction

More information

Networks and Web for Health Informatics (HINF 6220) Tutorial 13 : PHP 29 Oct 2015

Networks and Web for Health Informatics (HINF 6220) Tutorial 13 : PHP 29 Oct 2015 Networks and Web for Health Informatics (HINF 6220) Tutorial 13 : PHP 29 Oct 2015 PHP Arrays o Arrays are single variables that store multiple values at the same time! o Consider having a list of values

More information

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008.

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. Outline. How cookies work. Cookies in PHP. Sessions. Databases. Cookies. Sometimes it is useful to remember a client when it comes

More information

Host at 2freehosting.Com

Host at 2freehosting.Com Host at 2freehosting.Com This document will help you to upload your website to a free website hosting account at www.2freehosting.com/. Follow all the steps carefully in the order that they appear to ensure

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

More information

Chapter 7:- PHP. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Chapter 7:- PHP. Compiled By:- Sanjay Patel Assistant Professor, SVBIT. Chapter 7:- PHP Compiled By:- Assistant Professor, SVBIT. Outline Starting to script on server side, Arrays, Function and forms, Advance PHP Databases:-Basic command with PHP examples, Connection to server,

More information

Get in Touch Module 1 - Core PHP XHTML

Get in Touch Module 1 - Core PHP XHTML PHP/MYSQL (Basic + Advanced) Web Technologies Module 1 - Core PHP XHTML What is HTML? Use of HTML. Difference between HTML, XHTML and DHTML. Basic HTML tags. Creating Forms with HTML. Understanding Web

More information

Perch Documentation. U of M - Department of Computer Science. Written as a COMP 3040 Assignment by Cameron McKay, Marko Kalic, Riley Draward

Perch Documentation. U of M - Department of Computer Science. Written as a COMP 3040 Assignment by Cameron McKay, Marko Kalic, Riley Draward Perch Documentation U of M - Department of Computer Science Written as a COMP 3040 Assignment by Cameron McKay, Marko Kalic, Riley Draward 1 TABLE OF CONTENTS Introduction to Perch History of Perch ---------------------------------------------

More information

COMS 469: Interactive Media II

COMS 469: Interactive Media II COMS 469: Interactive Media II Agenda Review Content Management (cont.) Replace all txt files with database tables Expand PHP/MySQL SELECT, UPDATE & DELETE queries Permit full editorial control over content

More information

Creating the Data Layer

Creating the Data Layer Creating the Data Layer When interacting with any system it is always useful if it remembers all the settings and changes between visits. For example, Facebook has the details of your login and any conversations

More information

Real Web Development. yeah, for real.

Real Web Development. yeah, for real. Real Web Development yeah, for real. 1 who am i? i m still cyle i m a systems developer and architect every day i m developin i like this kind of stuff 2 real? kind of ranty, sorry web development is more

More information

The PHP language. Teaching you everything about PHP? Not exactly Goal: teach you how to interact with a database via web

The PHP language. Teaching you everything about PHP? Not exactly Goal: teach you how to interact with a database via web Web programming The PHP language Our objective Teaching you everything about PHP? Not exactly Goal: teach you how to interact with a database via web Access data inserted by users into HTML forms Interact

More information

PHP 5 if...else...elseif Statements

PHP 5 if...else...elseif Statements PHP 5 if...else...elseif Statements Conditional statements are used to perform different actions based on different conditions. PHP Conditional Statements Very often when you write code, you want to perform

More information

What is PHP? [1] Figure 1 [1]

What is PHP? [1] Figure 1 [1] PHP What is PHP? [1] PHP is an acronym for "PHP: Hypertext Preprocessor" PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP is free to download and use Figure

More information

PHP INTERVIEW QUESTION-ANSWERS

PHP INTERVIEW QUESTION-ANSWERS 1. What is PHP? PHP (recursive acronym for PHP: Hypertext Preprocessor) is the most widely used open source scripting language, majorly used for web-development and application development and can be embedded

More information

Relational databases and SQL

Relational databases and SQL Relational databases and SQL Relational Database Management Systems Most serious data storage is in RDBMS Oracle, MySQL, SQL Server, PostgreSQL Why so popular? Based on strong theory, well-understood performance

More information

Download and Installation Instructions: After WAMP Server download start the installation:

Download and Installation Instructions: After WAMP Server download start the installation: SET UP Instruction to Set Up a WAMP SERVER with MySQL and to Create a Database in My SQL and Connect from your PHP Script Download WAMP Server V 3.0 or higher from: https://sourceforge.net/projects/wampserver/

More information

BEGINNER PHP Table of Contents

BEGINNER PHP Table of Contents Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing

More information

FB Image Contest. Users Manual

FB Image Contest. Users Manual FB Image Contest Users Manual Table of contents Description.. 3 Step by step installation... 5 The administration interface.. 10 Creating a new contest... 13 Creating a Facebook Application.. 19 Adding

More information

Setting Up A WordPress Blog

Setting Up A WordPress Blog Setting Up A WordPress Blog Introduction WordPress can be installed alongside an existing website to be used solely as the 'blog' element of a website, or it can be set up as the foundation for an entire

More information

Things to note: Each week Xampp will need to be installed. Xampp is Windows software, similar software is available for Mac, called Mamp.

Things to note: Each week Xampp will need to be installed. Xampp is Windows software, similar software is available for Mac, called Mamp. Tutorial 8 Editor Brackets Goals Introduction to PHP and MySql. - Set up and configuration of Xampp - Learning Data flow Things to note: Each week Xampp will need to be installed. Xampp is Windows software,

More information

Database Systems. phpmyadmin Tutorial

Database Systems. phpmyadmin Tutorial phpmyadmin Tutorial Please begin by logging into your Student Webspace. You will access the Student Webspace by logging into the Campus Common site. Go to the bottom of the page and click on the Go button

More information

Chapter 3. Introduction to relational databases and MySQL. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C3

Chapter 3. Introduction to relational databases and MySQL. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C3 1 Chapter 3 Introduction to relational databases and MySQL Slide 2 Objectives Applied 1. Use phpmyadmin to review the data and structure of the tables in a database, to import and run SQL scripts that

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

Ockey.hockeycanada.ca. ehockey Online Clinic Registration English Manual. https://ehockey.hockeycanada.ca/ehockey

Ockey.hockeycanada.ca. ehockey Online Clinic Registration English Manual. https://ehockey.hockeycanada.ca/ehockey Ockey.hockeycanada.ca ehockey Online Clinic Registration English Manual https://ehockey.hockeycanada.ca/ehockey Table of Contents Contents Using this Manual... 3 How to Read this Manual...3 Navigating

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. WordPress

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. WordPress About the Tutorial WordPress is an open source Content Management System (CMS), which allows the users to build dynamic websites and blog. WordPress is the most popular blogging system on the web and allows

More information

PHP. MIT 6.470, IAP 2010 Yafim Landa

PHP. MIT 6.470, IAP 2010 Yafim Landa PHP MIT 6.470, IAP 2010 Yafim Landa (landa@mit.edu) LAMP We ll use Linux, Apache, MySQL, and PHP for this course There are alternatives Windows with IIS and ASP Java with Tomcat Other database systems

More information

Tutorials Php Y Jquery Mysql Database Without Refreshing Code

Tutorials Php Y Jquery Mysql Database Without Refreshing Code Tutorials Php Y Jquery Mysql Database Without Refreshing Code Code for Pagination using Php and JQuery. This code for pagination in PHP and MySql gets. Tutorial focused on Programming, Jquery, Ajax, PHP,

More information

Http Error Code 403 Forbidden Dreamweaver Mysql

Http Error Code 403 Forbidden Dreamweaver Mysql Http Error Code 403 Forbidden Dreamweaver Mysql Dreamweaver Database Http Error Code 403 Forbidden 오류 403 Forbidden Adobe Systems Inc. Adobe Dreamweaver. 459. Dreamweaver Error 1045 오류. They can range

More information

WELCOME TO JQUERY PROGRAMMING LANGUAGE ONLINE TUTORIAL

WELCOME TO JQUERY PROGRAMMING LANGUAGE ONLINE TUTORIAL WELCOME TO JQUERY PROGRAMMING LANGUAGE ONLINE TUTORIAL 1 The above website template represents the HTML/CSS previous studio project we have been working on. Today s lesson will focus on JQUERY programming

More information

Introduction. Server-side Techniques. Introduction. 2 modes in the PHP processor:

Introduction. Server-side Techniques. Introduction. 2 modes in the PHP processor: Introduction Server-side Techniques PHP Hypertext Processor A very popular server side language on web Code embedded directly into HTML documents http://hk2.php.net/downloads.php Features Free, open source

More information

Introduction to relational databases and MySQL

Introduction to relational databases and MySQL Chapter 3 Introduction to relational databases and MySQL A products table Columns 2017, Mike Murach & Associates, Inc. C3, Slide 1 2017, Mike Murach & Associates, Inc. C3, Slide 4 Objectives Applied 1.

More information

Course Syllabus. Course Title. Who should attend? Course Description. PHP ( Level 1 (

Course Syllabus. Course Title. Who should attend? Course Description. PHP ( Level 1 ( Course Title PHP ( Level 1 ( Course Description PHP '' Hypertext Preprocessor" is the most famous server-side programming language in the world. It is used to create a dynamic website and it supports many

More information

A Web-Based Introduction

A Web-Based Introduction A Web-Based Introduction to Programming Essential Algorithms, Syntax, and Control Structures Using PHP, HTML, and MySQL Third Edition Mike O'Kane Carolina Academic Press Durham, North Carolina Contents

More information

WebMatrix: Why PHP Developers Should Pay Attention

WebMatrix: Why PHP Developers Should Pay Attention WebMatrix: Why PHP Developers Should Pay Attention Gone are the days when PHP developers had to turn away business because the clients used Windows Servers. If you are a PHP developer and have been looking

More information

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and PHPRad PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and Getting Started Creating New Project To create new Project. Just click on the button. Fill In Project properties

More information

Setting up the Master Computer

Setting up the Master Computer Setting up the Master Computer for gofish the O FISH-AL Sales Program Be forwarned, non-technical translation for what is to come: blah, blah, doze off and blah-blah. Last updated March 12, 2016 I appologize

More information

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts Instructor s Web Data Management Web Client/Server Concepts Web Data Management 152-155 Web Client/Server Concepts Quick Links & Text References Client / Server Concepts Pages 4 11 Web Data Mgt Software

More information

Mysql Tutorial Show Table Like Name Not >>>CLICK HERE<<<

Mysql Tutorial Show Table Like Name Not >>>CLICK HERE<<< Mysql Tutorial Show Table Like Name Not SHOW TABLES LIKE '%shop%' And the command above is not working as Table name and next SHOW CREATE TABLEcommand user889349 Apr 18. If you do not want to see entire

More information

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist.

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist. CIT 736: Internet and Web Development Technologies Lecture 10 Dr. Lupiana, DM FCIM, Institute of Finance Management Semester 1, 2016 Agenda: phpmyadmin MySQLi phpmyadmin Before you can put your data into

More information

B. V. Patel Institute of BMC & IT 2014

B. V. Patel Institute of BMC & IT 2014 Unit 1: Introduction Short Questions: 1. What are the rules for writing PHP code block? 2. Explain comments in your program. What is the purpose of comments in your program. 3. How to declare and use constants

More information

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population In this lab, your objective is to learn the basics of creating and managing a DB system. One way to interact with the DBMS (MySQL)

More information

CHAPTER 10. Connecting to Databases within PHP

CHAPTER 10. Connecting to Databases within PHP CHAPTER 10 Connecting to Databases within PHP CHAPTER OBJECTIVES Get a connection to a MySQL database from within PHP Use a particular database Send a query to the database Parse the query results Check

More information

Software. Full Stack Web Development Intensive, Fall Lecture Topics. Class Sessions. Grading

Software. Full Stack Web Development Intensive, Fall Lecture Topics. Class Sessions. Grading Full Stack Web Development Intensive, Fall 2017 There are two main objectives to this course. The first is learning how to build websites / web applications and the assets that compose them. The second

More information

Let's Look Back. We talked about how to create a form in HTML. Forms are one way to interact with users

Let's Look Back. We talked about how to create a form in HTML. Forms are one way to interact with users Introduction to PHP Let's Look Back We talked about how to create a form in HTML Forms are one way to interact with users Users can enter information into forms which can be used by you (programmer) We

More information

URLs and web servers. Server side basics. URLs and web servers (cont.) URLs and web servers (cont.) Usually when you type a URL in your browser:

URLs and web servers. Server side basics. URLs and web servers (cont.) URLs and web servers (cont.) Usually when you type a URL in your browser: URLs and web servers 2 1 Server side basics http://server/path/file Usually when you type a URL in your browser: Your computer looks up the server's IP address using DNS Your browser connects to that IP

More information

Online CD Library (OCDL):

Online CD Library (OCDL): Online CD Library (OCDL): An Open Source Software Initiative for CD Content Management SOFTWARE MANUAL Prepared by Mr. M.Manivannan Information Analyst Central Library Indian Institute of Technology Kharagpur

More information

PHP Introduction. Some info on MySQL which we will cover in the next workshop...

PHP Introduction. Some info on MySQL which we will cover in the next workshop... PHP and MYSQL PHP Introduction PHP is a recursive acronym for PHP: Hypertext Preprocessor -- It is a widely-used open source general-purpose serverside scripting language that is especially suited for

More information

Web Programming. Dr Walid M. Aly. Lecture 10 PHP. lec10. Web Programming CS433/CS614 22:32. Dr Walid M. Aly

Web Programming. Dr Walid M. Aly. Lecture 10 PHP. lec10. Web Programming CS433/CS614 22:32. Dr Walid M. Aly Web Programming Lecture 10 PHP 1 Purpose of Server-Side Scripting database access Web page can serve as front-end to a database Ømake requests from browser, Øpassed on to Web server, Øcalls a program to

More information

SOCE Wordpress User Guide

SOCE Wordpress User Guide SOCE Wordpress User Guide 1. Introduction Your website runs on a Content Management System (CMS) called Wordpress. This document outlines how to modify page content, news and photos on your website using

More information

Ampliación de Bases de Datos

Ampliación de Bases de Datos 1. Introduction to In this course, we are going to use: Apache web server PHP installed as a module for Apache Database management system MySQL and the web application PHPMyAdmin to administrate it. It

More information

Project Title REPRESENTATION OF ELECTRICAL NETWORK USING GOOGLE MAP API. Submitted by: Submitted to: SEMANTA RAJ NEUPANE, Research Assistant,

Project Title REPRESENTATION OF ELECTRICAL NETWORK USING GOOGLE MAP API. Submitted by: Submitted to: SEMANTA RAJ NEUPANE, Research Assistant, - 1 - Project Title REPRESENTATION OF ELECTRICAL NETWORK USING GOOGLE MAP API Submitted by: SEMANTA RAJ NEUPANE, Research Assistant, Department of Electrical Energy Engineering, Tampere University of Technology

More information

Workspace Administrator Help File

Workspace Administrator Help File Workspace Administrator Help File Table of Contents HotDocs Workspace Help File... 1 Getting Started with Workspace... 3 What is HotDocs Workspace?... 3 Getting Started with Workspace... 3 To access Workspace...

More information

Server side basics CS380

Server side basics CS380 1 Server side basics URLs and web servers 2 http://server/path/file Usually when you type a URL in your browser: Your computer looks up the server's IP address using DNS Your browser connects to that IP

More information

COM1004 Web and Internet Technology

COM1004 Web and Internet Technology COM1004 Web and Internet Technology When a user submits a web form, how do we save the information to a database? How do we retrieve that data later? ID NAME EMAIL MESSAGE TIMESTAMP 1 Mike mike@dcs Hi

More information

Create-A-Page Design Documentation

Create-A-Page Design Documentation Create-A-Page Design Documentation Group 9 C r e a t e - A - P a g e This document contains a description of all development tools utilized by Create-A-Page, as well as sequence diagrams, the entity-relationship

More information

Protect My Ministry Integrated Background Checks for Church Community Builder

Protect My Ministry Integrated Background Checks for Church Community Builder Protect My Ministry Integrated Background Checks for Church Community Builder Integration and User Guide Page 1 Introduction Background Check functionality through Protect My Ministry has been integrated

More information

edirectory Change log

edirectory Change log edirectory 11.2.00 Change log Arca Solutions 7138 Little River Turnpike #1825 Annandale, VA 22003 www.arcasolutions.com 1. What s new 1. Sponsors can now add a video to their classifieds ads 2. Sponsors

More information

Mastering phpmyadmiri 3.4 for

Mastering phpmyadmiri 3.4 for Mastering phpmyadmiri 3.4 for Effective MySQL Management A complete guide to getting started with phpmyadmin 3.4 and mastering its features Marc Delisle [ t]open so 1 I community experience c PUBLISHING

More information

Smart Bulk SMS & Voice SMS Marketing Script with 2-Way Messaging. Quick-Start Manual

Smart Bulk SMS & Voice SMS Marketing Script with 2-Way Messaging. Quick-Start Manual Mobiketa Smart Bulk SMS & Voice SMS Marketing Script with 2-Way Messaging Quick-Start Manual Overview Mobiketa Is a full-featured Bulk SMS and Voice SMS marketing script that gives you control over your

More information

Developing Online Databases and Serving Biological Research Data

Developing Online Databases and Serving Biological Research Data Developing Online Databases and Serving Biological Research Data 1 Last Time HTML Hypertext Markup Language Used to build web pages Static, and can't change the way it presents itself based off of user

More information

HTML 5 Form Processing

HTML 5 Form Processing HTML 5 Form Processing In this session we will explore the way that data is passed from an HTML 5 form to a form processor and back again. We are going to start by looking at the functionality of part

More information

SO, ARE YOU READY? HERE WE GO:

SO, ARE YOU READY? HERE WE GO: Date: 28/09/2012 Procedure: How To Move WordPress To A New Server Or Host Source: LINK Permalink: LINK Created by: HeelpBook Staff Document Version: 1.0 HOW TO MOVE WORDPRESS TO A NEW SERVER OR HOST It

More information

Locate your Advanced Tools and Applications

Locate your Advanced Tools and Applications MySQL Manager is a web based MySQL client that allows you to create and manipulate a maximum of two MySQL databases. MySQL Manager is designed for advanced users.. 1 Contents Locate your Advanced Tools

More information

Database Connectivity using PHP Some Points to Remember:

Database Connectivity using PHP Some Points to Remember: Database Connectivity using PHP Some Points to Remember: 1. PHP has a boolean datatype which can have 2 values: true or false. However, in PHP, the number 0 (zero) is also considered as equivalent to False.

More information

How to Create a NetBeans PHP Project

How to Create a NetBeans PHP Project How to Create a NetBeans PHP Project 1. SET UP PERMISSIONS FOR YOUR PHP WEB SITE... 2 2. CREATE NEW PROJECT ("PHP APPLICATION FROM REMOTE SERVER")... 2 3. SPECIFY PROJECT NAME AND LOCATION... 2 4. SPECIFY

More information

Digitized Engineering Notebook

Digitized Engineering Notebook Governors State University OPUS Open Portal to University Scholarship All Capstone Projects Student Capstone Projects Spring 2017 Digitized Engineering Notebook Sandeep Kumar Gudivada Governors State University

More information

Apache, Php, MySql Configuration

Apache, Php, MySql Configuration 1.0 Introduction Apache, Php, MySql Configuration You will be guided to install the Apache web server and PHP and then configure them with MySQL database. There are several pre-requisite tasks MUST be

More information

Web Security. Jace Baker, Nick Ramos, Hugo Espiritu, Andrew Le

Web Security. Jace Baker, Nick Ramos, Hugo Espiritu, Andrew Le Web Security Jace Baker, Nick Ramos, Hugo Espiritu, Andrew Le Topics Web Architecture Parameter Tampering Local File Inclusion SQL Injection XSS Web Architecture Web Request Structure Web Request Structure

More information

Portal/Extranet User Guide for Clients

Portal/Extranet User Guide for Clients Portal/Extranet User Guide for Clients Welcome to the ichannel Portal/Extranet. This guide will walk you through logging into your personalized, secure portal/extranet site. It will also show you how to

More information

Princess Nourah bint Abdulrahman University. Computer Sciences Department

Princess Nourah bint Abdulrahman University. Computer Sciences Department Princess Nourah bint Abdulrahman University Computer Sciences Department 1 And use http://www.w3schools.com/ PHP Part 3 Objectives Creating a new MySQL Database using Create & Check connection with Database

More information

Lecture 12. PHP. cp476 PHP

Lecture 12. PHP. cp476 PHP Lecture 12. PHP 1. Origins of PHP 2. Overview of PHP 3. General Syntactic Characteristics 4. Primitives, Operations, and Expressions 5. Control Statements 6. Arrays 7. User-Defined Functions 8. Objects

More information

Page 1 of 11 Wordpress Sites How-to Guide. Introduction to Blogging -

Page 1 of 11 Wordpress Sites How-to Guide. Introduction to Blogging - Page 1 of 11 Wordpress Sites How-to Guide General Information: Version 5 Updated 1/04/10 Introduction to Blogging - http://codex.wordpress.org/introduction_to_blogging Tutorials from Absolute - http://absolutemg.com/support

More information

Hello, and welcome to the Alexicomtech tutorial. I will show you step by step how to set up your interactive pages. Please feel free to ask questions

Hello, and welcome to the Alexicomtech tutorial. I will show you step by step how to set up your interactive pages. Please feel free to ask questions Hello, and welcome to the Alexicomtech tutorial. I will show you step by step how to set up your interactive pages. Please feel free to ask questions at any time. The first step is to open your internet

More information

Documentation of Woocommerce Login / Sign up Premium. Installation of Woocommerce Login / Sign up Premium

Documentation of Woocommerce Login / Sign up Premium. Installation of Woocommerce Login / Sign up Premium Documentation of Woocommerce Login / Sign up Premium Installation of Woocommerce Login / Sign up Premium Installation Install Word Press from http://codex.wordpress.org/installing_wordpress. Upload via

More information

DATABASES SQL INFOTEK SOLUTIONS TEAM

DATABASES SQL INFOTEK SOLUTIONS TEAM DATABASES SQL INFOTEK SOLUTIONS TEAM TRAINING@INFOTEK-SOLUTIONS.COM Databases 1. Introduction in databases 2. Relational databases (SQL databases) 3. Database management system (DBMS) 4. Database design

More information

Connect-2-Everything SAML SSO (client documentation)

Connect-2-Everything SAML SSO (client documentation) Connect-2-Everything SAML SSO (client documentation) Table of Contents Summary Overview Refined tags Summary The Connect-2-Everything landing page by Refined Data allows Adobe Connect account holders to

More information

A340 Laboratory Session #17

A340 Laboratory Session #17 A340 Laboratory Session #17 LAB GOALS Interacting with MySQL PHP Classes and Objects (Constructors, Destructors, Instantiation, public, private, protected,..) Step 1: Start with creating a simple database

More information

Locate your Advanced Tools and Applications

Locate your Advanced Tools and Applications . phpmyadmin is a web-based application used to manage a MySQL database. It is free and open-source software. We have modified phpmyadmin so that it functions without errors on a shared hosting platform.

More information

Running A MyDNS Name Server On OpenBSD (MySQL/PHP + MyDNS + MyDNSConfig)

Running A MyDNS Name Server On OpenBSD (MySQL/PHP + MyDNS + MyDNSConfig) By ZcWorld (Shane Ebert) Published: 2008-03-31 18:28 Running A MyDNS Name Server On OpenBSD (MySQL/PHP + MyDNS + MyDNSConfig) This tutorial shows how to run a MyDNS name server on an OpenBSD server. It

More information

Core PHP. PHP output mechanism. Introducing. Language basics. Installing & Configuring PHP. Introducing of PHP keywords. Operators & expressions

Core PHP. PHP output mechanism. Introducing. Language basics. Installing & Configuring PHP. Introducing of PHP keywords. Operators & expressions Core PHP Introducing The origin of PHP PHP for web Development & Web Application PHP History Features of PHP How PHP works with the server What is server & how it works Installing & Configuring PHP PHP

More information

An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development Form Validation Creating templates

An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development Form Validation Creating templates PHP Course Contents An Introduction to HTML & CSS Basic Html concept used in website development Creating templates An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

ReCPro TM User Manual Version 1.15

ReCPro TM User Manual Version 1.15 Contents Web Module (recpro.net)... 2 Login... 2 Site Content... 3 Create a New Content Block... 4 Add / Edit Content Item... 5 Navigation Toolbar... 6 Other Site Tools... 7 Menu... 7 Media... 8 Documents...

More information

Programming for the Web with PHP

Programming for the Web with PHP Aptech Ltd Version 1.0 Page 1 of 11 Table of Contents Aptech Ltd Version 1.0 Page 2 of 11 Abstraction Anonymous Class Apache Arithmetic Operators Array Array Identifier arsort Function Assignment Operators

More information

Databases. Web applications in PHP to query a database. Practice n. 4

Databases. Web applications in PHP to query a database. Practice n. 4 Databases Web applications in PHP to query a database Practice n. 4 The purpose of this practice is to build a simple web application in PHP to query a database. Preliminary steps This practice is based

More information

K-RATE INSTALLATION MANUAL

K-RATE INSTALLATION MANUAL K-RATE INSTALLATION MANUAL K-Rate Installation Manual Contents SYSTEM REQUIREMENTS... 3 1. DOWNLOADING K-RATE... 4 STEP 1: LOGIN TO YOUR MEMBER ACCOUNT... 4 STEP 2: ENTER DOMAIN NAME... 5 STEP 3: DOWNLOAD

More information

Web Development Course (PHP-MYSQL-HTML5.0)

Web Development Course (PHP-MYSQL-HTML5.0) Mstechnologies.org https://www.facebook.com/mindscapestechnologies/ Web Development Course (PHP-MYSQL-HTML5.0) DURATION : 3 MONTHS Mindscapes Technologies Off # 01, Mezzanine Floor, Park View AptNear Usmania

More information