Courtesy of Clayton Fyfe. Lab 2 Runthrough

Similar documents
SO, ARE YOU READY? HERE WE GO:

Host at 2freehosting.Com

Design and development of GUI for Mobile App with MS Phone SDK. Bridging Windows Mobile GUI with php mysql. Lab Manual (for Windows 7 OS)

Dreamweaver CS6. Table of Contents. Setting up a site in Dreamweaver! 2. Templates! 3. Using a Template! 3. Save the template! 4. Views!

CSCI 4000 Assignment 6

How to Attach the Syllabus and Course Schedule to a Content Item

Student Website Setup

CSCI 4000 Assignment 4

SETTING UP AND RUNNING A WEB SITE ON YOUR LENOVO STORAGE DEVICE WORKING WITH WEB SERVER TOOLS

Developing Online Databases and Serving Biological Research Data

Installing WordPress CMS

Café Soylent Green Chapter 12

Activating Your Marshall Account for the First Time

Mobile Forms Integrator

Site Manager. To edit a page already in place, click on the name of the page.

Adobe Dreamweaver CS5 Tutorial

Introduction to using Microsoft Expression Web to build data-aware web applications

Mt. Lebanon School District 7 Horsman Drive Pittsburgh, Pennsylvania

A QUICK GUIDE TO PROGRAMMING FOR THE WEB. ssh (then type your UBIT password when prompted)

5. A small dialog window appears; enter a new password twice (this is different from Dori!) and hit Go.

c12011sep1213.notebook September 13, 2013

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.

Homework #1: SSH. Step 1: From the start button (lower left hand corner) type Secure. Then click on the Secure Shell File Transfer Client.

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

CAL 9-2: Café Soylent Green Chapter 12

Student Manual. Cognos Analytics

Student Instructions for TurnItIn.com. Create an Account with TurnItIn.com

Database Systems. phpmyadmin Tutorial

NOTE: For this tutorial you will need Internet Explorer Click Site, then New Site, go to the Templates tab. Fig. 1.0

Grapevine web hosting user manual. 12 August 2005

Adrian College Blackboard Quick Start Guide for Instructors

Installing Joomla

Working with Databases

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

Lab 5: Dreamweaver CS5, Uploading your Web site

Join Queries in Cognos Analytics Reporting

PHP Tutorial 6(a) Using PHP with MySQL

An Online Interactive Database Platform For Career Searching

Classroom Website Basics

MySQL On Crux Part II The GUI Client

The Dreamweaver Interface

Building Content elearning Blackboard Learn 9.1 for Faculty

Author A.Kishore/Sachin WinSCP

Requirements Document

Getting Started (New Accounts)

Publishing with Adobe Presenter 10 (Detailed)

ADOBE DREAMWEAVER CS4 BASICS

Adobe Dreamweaver CC 17 Tutorial

PlicElements Quick Start Guide

WinSCP. Author A.Kishore/Sachin

Using PHPMyAdmin with WordPress

Channel Builder in My UC Davis. Requirements:

SmartBar for MS CRM 2013

SIMICART USER GUIDE SERIES. SimiCart Install SimiConnector

Creating and Publishing Your own website. MAC Version SEAS 001 Professor Ahmadi

File Transfer with SSH

How to change your password - Students

Café Soylent Green Chapters 4

Table of contents. Zip Processor 3.0 DMXzone.com

In Internal Style Sheet is when the css styles are included with the html page code. These styles will only apply to one html page.

CSCI 4000 Assignment 5

You can use the WinSCP program to load or copy (FTP) files from your computer onto the Codd server.

Informit EduTV how to guide

JavaScript Assignment. parta: slideshow part B: add n subtract. COGS3 Introduction to Computing Assignment

JSN Dona Portfolio User's Guide

HelpAndManual_illegal_keygen Contactor Elite Autoresponder Installation Guide

This presentation will show you how to create a page in a group eportfolio.

INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT

ROLLA PUBLIC SCHOOLS WEB EDITING REFRESHER

Student DyKnow Tutorial

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

Locate your Advanced Tools and Applications

UPLOADING A RECORDING TO I-TUNES (updated 9/2/09)

Guide for Building Web Application Using PHP and Mysql

Creating narrated presentations using Slideboom (for Mac Office 2011) and embedding it to D2L s (10.3) Content area

Tutorial for 21Classes.com

STREAMLYNE GUIDE FOR STUDENTS/PRINCIPAL INVESTIGATORS

UNIVERSITY OF NORTH TEXAS DEPARTMENT OF LEARNING TECHNOLOGIES SPRING

Captivating Movies! Getting Started with Captivate

Creating a Web Page using KompoZer

SCRIPT REFERENCE. UBot Studio Version 4. The Browser Commands

Adobe Flash CS5. Creating a web banner. Garvin Ling Juan Santa Cruz Bruno Venegas

Installing Blank SiriusSQL Database 4.0

Alternate Submission Methods

FAU. How do I. Post course content? Folders

Kodiak Quick Guide: Content

WEB EDITING REFRESHER

education portal Atheneo

** If you are having issues logging into , Contact **

Wiki Tutorial. University of Regina In this tutorial you will learn to

Online CD Library (OCDL):

CONFIGURING LDAP. What is LDAP? Getting Started with LDAP

Ruby on Rails Welcome. Using the exercise files

CLASS 6: March 5, 2014 MULTIMEDIA TOOLS: DGIM 601-W01 (127469)

Setting up the Master Computer

STREAMLYNE INITIAL GUIDE FOR PRINCIPAL INVESTIGATOR / STUDENT

Firewalls can prevent access to the Unix Servers. Please make sure any firewall software or hardware allows access through Port 22.

SUBMITTING AN IBC AMENDMENT

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

Web Development. With PHP. Web Development With PHP

Transcription:

Courtesy of Clayton Fyfe Lab 2 Runthrough

Highlights 1. Accessing and Using phpmyadmin 2. CRUD for phpmyadmin 3. Microsoft expression WEB 3 Overview 4. CRUD for PHP 5. Adding Files to the playground

Accessing and Using phpmyadmin

Go to https://playground.bradley.edu/register

Notice and Copy Your root Password! Proceed to phpmyadmin

*Extra*If you forget / already have a mysql account: Click Reset Password and follow the previous slide.

*Extra Slide* Setting phpmyadmin password. 1. Click your name 2. Click SQL 3. Type SET PASSWORD FOR *s_username* = PASSWORD( ); 4. Put your new password between the single quotes. 5. Hit go

How To Use phpmyadmin - Student Table Example

Click on your username in the left column

Specify the name, number of attributes for your new table, and hit go

Name, Type Attribute Slide Nullability, Primary Key Slide

Specify the Name, Type, And Length Of the attributes.

Specify the Nullability and which attribute is a Primary Key and hit save.the primary key should be a unique attribute about your table. Example: Student ID

Adding Attributes to a table. *Student Example* 1. Click the insert Tab In Your Respective Table 2. Insert your data in the Value column for the corresponding fields. 3. Hit Go to add the data to your table 4. *NOTICE* If the values you enter are longer than the length specified in the type column, your data WILL be TRUNCATED and part of your data will not be stored

Removing Attributes from a table. *Student Example* 1. Click Browse In Your Respective Table 2. Click the red X

Updating Attributes from a table. *Student Example* 1. Click Browse In Your Respective Table 2. Click the pencil 3. Update your fields 4. Hit Go

Microsoft Expression Web 3

When you first open it click new Site

1. Select One Page site, 2. specify it s address, 3. and name it.

In the bottom left is the objects attributes In the bottom right there is the layer function.

Drag and drop the layer into the white space in the center of Web 3

Hit split view in the bottom left, this allows us to see code and the webpage layout

Drag and drop a Text Input, notice how it makes a Form inside of the layer. This form encapsulates the input field. Enter some text prior to the field.

Notice how the code has changed. Notice how the new div has ID layer1. Also notice the new form within the layer. If you click on the layer, text field, form, or anything for that matter, It gets highlighted in the code.

It s recommended to rename the ID and text fields to become more understandable.

In your form add an action before the method. The name of the action should be the same as your respective php file. For example, in the new student form. I m creating a php file named: newstudent.php

Insert Input (Submit) and Reset (Submit) buttons in the toolbox column. Make sure they are placed within the form.

Add more layers and fields to make your site

PHP

Check out the samples on the syllabus I d highly recommend downloading the sample files on the course website as well. Php Walkthrough PHP Worked example

C.R.U.D Create, Read, Update, Delete

Here s a sample of my config.php In yours you d want to replace the db_user and database with your respective information. Example: A Student with the name John Smith $database = s_jsmith ; $db_user = s_jsmith ;

Here s a sample of my newstudent.php *Create* Replace the text inside of the $_Post with your corresponding text field name. Let s say I have a text field named Student_Name The field would be..$_post[ Student_Name ].

Here s a sample of myshowallcourses.php *Read* In this slide, we display all the Courses in a given semester.

Here s a sample of updatestudentname.php *Update* In this slide, we update a student's name based on their ID

Here s a sample of removestudent.php *Delete*

PHP Additional Information

PHP Variables in SQL Use variables to save information typed into text boxes so it can be used in SQL queries Ensure name given inside _POST matches the name given to the textbox in your html form. When using a variable inside of a SQL statement, place the variable in single quotes

PHP With Request Methods Ensure the same request method is specified in both the html form and the PHP script when retrieving information from an html form

SQL

SQL Join Statements If you find yourself stuck on SQL Statements, check out this tutorial by W3schools. It is very helpful, especially when it comes to learning about Joins W3Schools

Uploading the files to the playground

Download a file transferring program. Or access through the command Line Link to trusted programs Playground.bradley.edu ip addess: 136.176.70.240

SSH Secure client example * Click quick connect * Host Name: playground.bradley.edu User Name: *bradley username* Password: *bradley password*

Upload your files to the public_html Be sure to create a new folder in your public_html folder. Click the new folder button. Or right click on the right column and click new folder in the window.

Check your Webpage: playground.bradley.edu/~*username* Example: playground.bradley.edu/~jsmith I d recommend making a folder. So that way you still have access to the directory.

Test Your forms