Member registration and searching(2)

Size: px
Start display at page:

Download "Member registration and searching(2)"

Transcription

1 Member registration and searching(2) Initial screen for member registration ( ex11-9.php ) <HTML> <HEAD> <TITLE> 간단한회원등록및검색서비스 </TITLE> </HEAD> <BODY> <FONT FACE=" 바탕 "> 간단한회원등록및검색서비스 </FONT> <BR> <P><FONT FACE=" 바탕 "><A HREF="ex11-10.php">1. 회원등록 </A></FONT> <P><FONT FACE=" 바탕 "><A HREF="ex11-12.php">2. 회원검색 </A></FONT> <BR> </HTML> 1

2 Member registration and searching(3) Screen for member reg <HTML><HEAD> <TITLE> 회원등록 </TITLE></HEAD> <BODY> <FONT FACE=" 바탕 "> 회원등록 </FONT> <BR> <P> <TR> <P><FONT FACE=" 바탕 "> 성별 </FONT> <TD VALIGN=MIDDLE WIDTH=600> <INPUT TYPE=RADIO NAME=sex VALUE=male> 남자 <INPUT TYPE=RADIO NAME=sex VALUE=female> 여자 <FORM METHOD=POST ACTION="ex11-11.php"> <TABLE BORDER=0 CELLPADDING=2 <TR> WIDTH=700 HEIGHT=133> <P><FONT FACE=" 바탕 "> 주소 </FONT> <P><FONT FACE=" 바탕 "> 회원명 </FONT> <TD VALIGN=MIDDLE WIDTH=600> <TD VALIGN=MIDDLE WIDTH=600> <SELECT NAME= address1 SIZE=1> <INPUT TYPE=TEXT NAME=name> <OPTION LABEL=1 VALUE=" 서울 "> 서울 <OPTION LABEL=2 VALUE=" 경기 "> 경기 <OPTION LABEL=3 VALUE=" 강원 "> 강원 <TR> <OPTION LABEL=4 VALUE=" 충남 "> 충남 <OPTION LABEL=5 VALUE=" 충북 "> 충북 <P><FONT FACE=" 바탕 "> 전화번호 </FONT> <OPTION LABEL=6 VALUE=" 경남 "> 경남 <TD VALIGN=MIDDLE WIDTH=600> <OPTION LABEL=7 VALUE=" 경북 "> 경북 <INPUT TYPE=TEXT NAME=phone> <OPTION LABEL=7 VALUE=" 전남 "> 전남 <OPTION LABEL=7 VALUE=" 전북 "> 전북 </SELECT> 2

3 Member registration and searching(4) Screen for member reg (cont') <INPUT TYPE=TEXT NAME= address2 SIZE=70> <TR> <P><FONT FACE=" 바탕 "> 나이 </FONT> <TD VALIGN=MIDDLE WIDTH=600> <INPUT TYPE=TEXT NAME=age> <CAPTION ALIGN=BOTTOM> </CAPTION> </TABLE> <BR> <INPUT TYPE=SUBMIT VALUE=" 입력 "> <INPUT TYPE=RESET VALUE=" 취소 "> </FORM> <BR> </BODY> </HTML> 3

4 Member registration and searching(5) Ex11-11.php Source <?php $host = "localhost"; $user = "root"; $password = "apmsetup"; if($sex==male) { $sex = ' 남 '; } else { $sex = ' 여 '; } $conn = mysql_connect($host, $user, $password); mysql_select_db('php_exam', $conn); $address = $address1." ".$address2; $sql = "insert into member_tbl values('$name','$phone','$sex','$address','$age')"; mysql_query($sql, $conn); mysql_close($conn); echo("<p><font FACE= 바탕 > 등록성공, 축하합니다!</FONT></P>"); echo("<p><font FACE= 바탕 ><A HREF='ex11-9.php'> 초기화면으로 </A></FONT></P>");?> 4

5 Member registration and searching(7) <?php Search for member and output screen (ex11-12.php) $host = "localhost"; $user = "root"; $password = apmsetup"; $conn = mysql_connect($host, $user, $password); $db_id = mysql_select_db('php_exam', $conn); echo("<p><font FACE= 바탕 > 검색결과 </FONT></P>"); $sql = "select * from member_tbl"; $sql_result = mysql_query($sql, $conn); $count = mysql_num_rows($sql_result); for ($i = 0; $i < $count; $i++) { } $s_name = mysql_result($sql_result, $i, name); $s_phone = mysql_result($sql_result, $i, phone); $s_sex = mysql_result($sql_result, $i, sex); $s_address = mysql_result($sql_result, $i, address); $s_age = mysql_result($sql_result, $i, age); echo "<TR><TD>".$s_name."<TD>".$s_phone."< /TD><TD>".$s_sex."<TD>".$s_address."</T D><TD>".$s_age.""; echo("</table>"); echo("<table BORDER=1 CELLPADDING=2 WIDTH=700>"); echo("<tr><td> 이름 <TD> 전화번호 <TD> 성별 // 테이블제목출력 <TD> 주소 <TD> 나이 "); mysql_query($sql, $conn); mysql_close($conn); echo("<p><font FACE= 바탕 ><A HREF='ex11-9.php'> 초기화면으로 </A></FONT>");?> 5

6 Text counter(2) <?php $host = "localhost"; $user = "root"; $password = apmsetup"; $conn = mysql_connect($host, $user, $password); mysql_select_db('php_exam', $conn); $sql = "select count from counter"; $sql_result = mysql_query($sql, $conn); $result_array = mysql_fetch_array($sql_result); $new_count = $result_array[count] + 1; $sql = "update counter set count=$new_count"; mysql_query($sql, $conn); mysql_close($conn); echo("<table BORDER=1 WIDTH=80 ALIGN=CENTER>"); echo("<tr><td ALIGN=CENTER> 방문횟수 </TR>"); echo("<tr><td ALIGN=CENTER>$new_count</TR>"); echo("</table>");?> 6

7 Image counter Output image Example to replace the number to be displayed with the value of the array Settype( $new_count, string ); $count_length = strlen($new_count); for ( $i = 0; $i < $count_length; $i++ ) { } $num = $new_count[ $i ]; settype( $num, integer ); echo $counter_img[ $num ]; 7

8 Image counter(2) <?php $counter_img[] = "<img src=\"image/0.gif\">"; $counter_img[] = "<img src=\"image/1.gif\">"; $counter_img[] = "<img src=\"image/2.gif\">"; $counter_img[] = "<img src=\"image/3.gif\">"; $counter_img[] = "<img src=\"image/4.gif\">"; $counter_img[] = "<img src=\"image/5.gif\">"; $counter_img[] = "<img src=\"image/6.gif\">"; $counter_img[] = "<img src=\"image/7.gif\">"; $counter_img[] = "<img src=\"image/8.gif\">"; $counter_img[] = "<img src=\"image/9.gif\">"; $host = "localhost"; $user = "root"; $password = "apmsetup ; $conn = mysql_connect($host, $user, $password); mysql_select_db('php_exam', $conn); $sql = "select count from counter"; $sql_result = mysql_query($sql, $conn); $result_array = mysql_fetch_array($sql_result); $new_count = $result_array[count] + 1; $sql = "update counter set count=$new_count"; mysql_query($sql, $conn); mysql_close($conn); echo("<table BORDER=1 WIDTH=80 ALIGN=CENTER>"); echo("<tr><td ALIGN=CENTER> 방문횟수 </TR>"); echo("<tr><td ALIGN=CENTER>"); settype($new_count, "string"); $count_length = strlen($new_count); for ($i = 0; $i < $count_length; $i++) { $num = $new_count[$i]; settype($num, "integer"); echo $counter_img[$num]; } echo("</tr>"); echo("</table>");?> 8

주소록만들기 주소록. Input 페이지 Edit 페이지 Del 페이지

주소록만들기 주소록. Input 페이지 Edit 페이지 Del 페이지 주소록프로젝트 주소록만들기 주소록 List 페이지 Input 페이지 Edit 페이지 Del 페이지 Inputpro 페이지 Editpro 페이지 Address_Input.html 주소입력페이지 td,li,input{font-size:9pt} 주소입력

More information

Come & Join Us at VUSTUDENTS.net

Come & Join Us at VUSTUDENTS.net Come & Join Us at VUSTUDENTS.net For Assignment Solution, GDB, Online Quizzes, Helping Study material, Past Solved Papers, Solved MCQs, Current Papers, E-Books & more. Go to http://www.vustudents.net and

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

By the end of this section of the practical, the students should be able to:

By the end of this section of the practical, the students should be able to: By the end of this section of the practical, the students should be able to: Connecting to a MySQL database in PHP with the mysql_connect() and mysql_select_db() functions Trapping and displaying database

More information

Spring 2014 Interim. HTML forms

Spring 2014 Interim. HTML forms HTML forms Forms are used very often when the user needs to provide information to the web server: Entering keywords in a search box Placing an order Subscribing to a mailing list Posting a comment Filling

More information

Lab 7 Introduction to MySQL

Lab 7 Introduction to MySQL Lab 7 Introduction to MySQL Objectives: During this lab session, you will - Learn how to access the MySQL Server - Get hand-on experience on data manipulation and some PHP-to-MySQL technique that is often

More information

Summary 4/5. (contains info about the html)

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

New way of learning PHP EXAMPLE PDF. Created By: Umar Farooque Khan. Copyright ptutorial All Rights Reserved

New way of learning PHP EXAMPLE PDF. Created By: Umar Farooque Khan. Copyright ptutorial All Rights Reserved PHP EXAMPLE PDF Created By: Umar Farooque Khan 1 Program No: 01 PHP Generate 10 Random Numbers Using Loop $min=10; $max="100"; echo "Number between 10 to 100"; for($i=0;$i

More information

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document

More information

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II CHAPTER 1: HTML 1. What is HTML? Define its structure. a. HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser.

More information

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab. Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with

More information

Advanced HTML 5.1 INTRODUCTION 5.2 OBJECTIVES

Advanced HTML 5.1 INTRODUCTION 5.2 OBJECTIVES 5 Advanced HTML 5.1 INTRODUCTION An effective way to organize web documents, visually, and also logically, by dividing the page into different parts is the necessity of the website today. In each part

More information

Technical Guide Login Page Customization

Technical Guide Login Page Customization Released: 2017-11-15 Doc Rev No: R2 Copyright Notification Edgecore Networks Corporation Copyright 2019 Edgecore Networks Corporation. The information contained herein is subject to change without notice.

More information

Create Basic Databases and Integrate with a Website Lesson 3

Create Basic Databases and Integrate with a Website Lesson 3 Create Basic Databases and Integrate with a Website Lesson 3 Combining PHP and MySQL This lesson presumes you have covered the basics of PHP as well as working with MySQL. Now you re ready to make the

More information

ゼミ Wiki の再構築について 資料編 加納さおり

ゼミ Wiki の再構築について 資料編 加納さおり Wiki [ Fukuda Semi Wiki] [ 2 wiki] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 Menu1] [ 15 Menu2] [ 16 Menu3] [ 17 wiki Menu] [ 18 TOP ] [ 19 ] [ 20 ] [ 20] [ 21 ] [ 22 (

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

Creating a Web Page with HTML

Creating a Web Page with HTML CT1501 DEVELOPMENT OF INTERNET APPLICATION Creating a Web Page with HTML Prepared By: Huda Alsuwailem Reviewed by: Rehab Alfallaj www.faculty.ksu.edu.sa/rehab-alfallaj ralfallaj@ksu.edu.sa Tables

More information

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus)

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) 10.1 Tujuan Mahasiswa mampu : Mengetahui dan Memahami Integrasi PHP dengan MySQL Mengetahui dan Memahami Relasi Dengan phpmyadmin Designer Mengetahui dan

More information

PHP Tutorial 6(a) Using PHP with MySQL

PHP Tutorial 6(a) Using PHP with MySQL Objectives After completing this tutorial, the student should have learned; The basic in calling MySQL from PHP How to display data from MySQL using PHP How to insert data into MySQL using PHP Faculty

More information

CIS52N Martha Raup, 11/30/09. Lab 3: Problem 1: (demographics) a. A list of all records sorted by country name

CIS52N Martha Raup, 11/30/09. Lab 3: Problem 1: (demographics) a. A list of all records sorted by country name CIS52N Martha Raup, 11/30/09 Lab 3: Problem 1: (demographics) a. A list of all records sorted by country name b. The country with the highest population c. The country with the lowest population d. Countries

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013 CHAPTER 1: BASIC CONCEPTS OF WEB DESIGNING 1. What is the web? What are the three ways you can build a webpage? The World Wide Web (abbreviated as WWW or W3, commonly known as the web), is a system of

More information

Date Issued: Subject: Editing the HTML files in the C-more panel. Revision: Original

Date Issued: Subject: Editing the HTML files in the C-more panel. Revision: Original APPLICATION NOTE THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT.COM TECHNICAL SUPPORT These documents are provided by our technical support department to assist others. We do not guarantee that the data

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

Tables *Note: Nothing in Volcano!*

Tables *Note: Nothing in Volcano!* Tables *Note: Nothing in Volcano!* 016 1 Learning Objectives After this lesson you will be able to Design a web page table with rows and columns of text in a grid display Write the HTML for integrated

More information

What is MySQL? [Document provides the fundamental operations of PHP-MySQL connectivity]

What is MySQL? [Document provides the fundamental operations of PHP-MySQL connectivity] What is MySQL? [Document provides the fundamental operations of PHP-MySQL connectivity] MySQL is a database. A database defines a structure for storing information. In a database, there are tables. Just

More information

Visit for more.

Visit   for more. Chapter 7: Web Applications Informatics Practices Class XII (CBSE Board) Revised as per CBSE Curriculum 2015 Visit www.ip4you.blogspot.com for more. Authored By:- Rajesh Kumar Mishra, PGT (Comp.Sc.) Kendriya

More information

WEB PROGRAMMING SCV1223. PHP : Authentication Example. Dr. Md Sah bin Hj Salam En. Jumail bin Taliba

WEB PROGRAMMING SCV1223. PHP : Authentication Example. Dr. Md Sah bin Hj Salam En. Jumail bin Taliba WEB PROGRAMMING SCV1223 PHP : Authentication Example Dr. Md Sah bin Hj Salam En. Jumail bin Taliba Topics Form Handling Redirection Connecting to Database User Authentication Session Authentication Case

More information

CHAPTER 5 IMPLEMENTATION AND TESTING

CHAPTER 5 IMPLEMENTATION AND TESTING 5.1 Implementation 1. Form Input Insert CHAPTER 5 IMPLEMENTATION AND TESTING Below is a fragment of the program to create a user interaction page that will be used for the insert, 1.

More information

Exam 2 Reference Packet

Exam 2 Reference Packet CS 328 - Exam 2-2015-04-08 p. 1 For Problem 5 Exam 2 Reference Packet Number of cups:

More information

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5

More information

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. HTML Tags Chart To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Tag Name Code Example Browser View

More information

Dynamic Form Processing Tool Version 5.0 November 2014

Dynamic Form Processing Tool Version 5.0 November 2014 Dynamic Form Processing Tool Version 5.0 November 2014 Need more help, watch the video! Interlogic Graphics & Marketing (719) 884-1137 This tool allows an ICWS administrator to create forms that will be

More information

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. c360 Solutions

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc.   c360 Solutions c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. www.c360.com c360 Solutions Contents Overview... 3 Web Connect Configuration... 4 Implementing Web Connect...

More information

HTML forms and the dynamic web

HTML forms and the dynamic web HTML forms and the dynamic web Antonio Lioy < lioy@polito.it > english version created by Marco D. Aime < m.aime@polito.it > Politecnico di Torino Dip. Automatica e Informatica timetable.html departure

More information

Chapter 4 Notes. Creating Tables in a Website

Chapter 4 Notes. Creating Tables in a Website Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a

More information

Chapter 15 Java Server Pages (JSP)

Chapter 15 Java Server Pages (JSP) Sungkyunkwan University Chapter 15 Java Server Pages (JSP) Prepared by J. Jung and H. Choo Web Programming Copyright 2000-2018 Networking 2000-2012 Networking Laboratory Laboratory 1/30 Server & Client

More information

M275 - Web Development using PHP and MySQL

M275 - Web Development using PHP and MySQL Arab Open University Faculty of computer Studies M275 - Web Development using PHP and MySQL Chapter 6 Flow Control Functions in PHP Summary This is a supporting material to chapter 6. This summary will

More information

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/ home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();

More information

Create Basic Databases and Integrate with a Website Lesson 5

Create Basic Databases and Integrate with a Website Lesson 5 Create Basic Databases and Integrate with a Website Lesson 5 Forum Project In this lesson we will be creating a simple discussion forum which will be running from your domain. If you wish you can develop

More information

Course Topics. IT360: Applied Database Systems. Introduction to PHP

Course Topics. IT360: Applied Database Systems. Introduction to PHP IT360: Applied Database Systems Introduction to PHP Chapter 1 and Chapter 6 in "PHP and MySQL Web Development" Course Topics Relational model SQL Database design Normalization PHP MySQL Database administration

More information

1 Form Basics CSC309

1 Form Basics CSC309 1 Form Basics Web Data 2! Most interesting web pages revolve around data! examples: Google, IMDB, Digg, Facebook, YouTube! can take many formats: text, HTML, XML, multimedia! Many of them allow us to access

More information

Understanding Basic SQL Injection

Understanding Basic SQL Injection Understanding Basic SQL Injection SQL injection (also known as SQLI) is a code injection technique that occurs if the user-defined input data is not correctly filtered or sanitized of the string literal

More information

SilkTest 2009 R2. Rules for Object Recognition

SilkTest 2009 R2. Rules for Object Recognition SilkTest 2009 R2 Rules for Object Recognition Borland Software Corporation 4 Hutton Centre Dr., Suite 900 Santa Ana, CA 92707 Copyright 2009 Micro Focus (IP) Limited. Rights Reserved. SilkTest contains

More information

HTML crashcourse. general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button

HTML crashcourse. general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button HTML crashcourse general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button Andreas Schmidt HTML Crash-Kurs 1/10 general structure

More information

Hyperlinks, Tables, Forms and Frameworks

Hyperlinks, Tables, Forms and Frameworks Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get

More information

Final Examination Semester 1 / Year 2012

Final Examination Semester 1 / Year 2012 Final Examination Semester 1 / Year 2012 COURSE : INTERNET APPLICATION COURSE CODE : CSIS1013 TIME : 2 1/2 HOURS DEPARTMENT : COMPUTER SCIENCE LECTURER : TEE CHENG SIEW Student s ID : Batch No. : Notes

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Javascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010

Javascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010 Lecture 21 Javascript Announcements Reminder: beginning with Homework #7, Javascript assignments must be submitted using a format described in an attachment to HW#7 3rd Exam date set for 12/14 in Goessmann

More information

CSC Web Technologies, Spring HTML Review

CSC Web Technologies, Spring HTML Review CSC 342 - Web Technologies, Spring 2017 HTML Review HTML elements content : is an opening tag : is a closing tag element: is the name of the element attribute:

More information

Silk Test Object Recognition with the Classic Agent

Silk Test Object Recognition with the Classic Agent Silk Test 13.5 Object Recognition with the Classic Agent Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626 Copyright 2012 Micro Focus. rights reserved. Portions Copyright 1992-2009 Borland Software

More information

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp

More information

Javascript Lesson 3: Controlled Structures ANDREY KUTASH

Javascript Lesson 3: Controlled Structures ANDREY KUTASH Javascript Lesson 3: Controlled Structures ANDREY KUTASH 10.1 Introduction Before programming a script have a Thorough understanding of problem Carefully planned approach to solve it When writing a script,

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

Dreamweaver CS3 Concepts and Techniques

Dreamweaver CS3 Concepts and Techniques Dreamweaver CS3 Concepts and Techniques Chapter 3 Tables and Page Layout Part 1 Other pages will be inserted in the website Hierarchical structure shown in page DW206 Chapter 3: Tables and Page Layout

More information

How to Set Up a Custom Challenge Page for Authentication

How to Set Up a Custom Challenge Page for Authentication How to Set Up a Custom Challenge Page for Authentication Setting up a custom challenge page is a three step process: 1. Create a custom challenge page. Deploy the created custom challenge page on your

More information

WEB PAGE DESIGN. Structure

WEB PAGE DESIGN. Structure UNIT 4 WEB PAGE DESIGN Structure 4.0 Introduction 4.1 Objectives 4.2 Basics of web page design using HTML 4.2.1 Method to create and view the web pages in browser 4.2.2 HTML Basic tags 4.2.3 Image tags

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

Networking and Internet

Networking and Internet Today s Topic Lecture 13 Web Fundamentals Networking and Internet LAN Web pages Web resources Web client Web Server HTTP Protocol HTML & HTML Forms 1 2 LAN (Local Area Network) Networking and Internet

More information

Building Web Based Application using HTML

Building Web Based Application using HTML Introduction to Hypertext Building Web Based Application using HTML HTML: Hypertext Markup Language Hypertext links within and among Web documents connect one document to another Origins of HTML HTML is

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

Output a HTML Table to file PDF use FPDF

Output a HTML Table to file PDF use FPDF Output a HTML Table to file PDF use FPDF Informations Class: PDFTable Author: vietcom License: Freeware Version: 1.2 (18-Nov-2004) In this class, I use class HTMLParser from Jose Solorzano and class FPDF

More information

Course Topics. The Three-Tier Architecture. Example 1: Airline reservations. IT360: Applied Database Systems. Introduction to PHP

Course Topics. The Three-Tier Architecture. Example 1: Airline reservations. IT360: Applied Database Systems. Introduction to PHP Course Topics IT360: Applied Database Systems Introduction to PHP Database design Relational model SQL Normalization PHP MySQL Database administration Transaction Processing Data Storage and Indexing The

More information

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Hypertext Markup Language (HTML) Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline HTML Structures Tables Forms New HTML5 Elements Summary HTML Tables 4 Tables Tables are created with

More information

Secure Web-Based Systems Fall Test 1

Secure Web-Based Systems Fall Test 1 Secure Web-Based Systems Fall 2016 CS 4339 Professor L. Longpré Name: Directions: Test 1 This test is closed book and closed notes. However, you may consult the special cheat sheet provided to you with

More information

Psychology Experiments on the Web Using PHP and MySQL

Psychology Experiments on the Web Using PHP and MySQL Psychology Experiments on the Web Using PHP and MySQL Lisa M. DeBruine August 14, 2008 Contents 1 Basic Web Authoring 2 1.1 Setting up your webpage....................... 2 1.2 HTML.................................

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI INDEX No. Title Pag e No. 1 Implements Basic HTML Tags 3 2 Implementation Of Table Tag 4 3 Implementation Of FRAMES 5 4 Design A FORM

More information

LESSON 3. Coding Tables Continued

LESSON 3. Coding Tables Continued LESSON 3 Coding Tables Continued Lesson Learning Targets I can create a Web page table that displays text and / or images. I can create a Web page table that serves as a menu bar. Creating the Secondary

More information

HTML Element A pair of tags and the content these include are known as an element

HTML Element A pair of tags and the content these include are known as an element HTML Tags HTML tags are used to mark-up HTML elements. HTML tags are surrounded by the two characters < and >. The surrounding characters are called angle brackets HTML tags are not case sensitive,

More information

If you do not specify any custom parameters, we will deliver the message using the default names.

If you do not specify any custom parameters, we will deliver the message using the default names. Inbound SMS to UK landline numbers API HTTP GET/POST variables If you choose to have the messages delivered by HTTP, you may either use our standard parameters, or create a custom format for compatibility

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. HTML Tags Chart To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Tag Name Code Example Browser View

More information

An Introduction to WebSphere Portal content publishing channels

An Introduction to WebSphere Portal content publishing channels An Introduction to WebSphere Portal content publishing channels By Gregory Melahn Software Engineer, IBM Corp. May 2003 Abstract WebSphere Portal content publishing (WPCP) allows you to import news stories

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

state View; else if (mesg == "Overview") { state Overview; state_exit(){}

state View; else if (mesg == Overview) { state Overview; state_exit(){} list labels = ["Take", "Overview", "View"]; key httpid = NULL_KEY; integer mychannel = -17325; // Set this to something unique for yourself to avoid crosstalk key who; key textureblank = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903";

More information

Selected Sections of Applied Informatics

Selected Sections of Applied Informatics Selected Sections of Applied Informatics M.Sc. Marcin Koniak koniakm@wt.pw.edu.pl http://www2.wt.pw.edu.pl/~a.czerepicki Based on lecture: Dr inż. Andrzej Czerepicki a.czerepicki@wt.pw.edu.pl 2018 HTML

More information

Information and Communication Technology (ICT) CBSE Board Question Paper 2018 Solution

Information and Communication Technology (ICT) CBSE Board Question Paper 2018 Solution Information and Communication Technology (ICT) CBSE Board Question Paper 2018 Solution 1. Multiple Choice Questions (a) A bit may contain value (i) 0 (ii) 1 (iii) Both 0 and 1 (iv) Either 0 or 1 Ans. (iv)

More information

EXPERIMENT OBJECTIVE:

EXPERIMENT OBJECTIVE: EXPERIMENT-1 1.1 To accept a number from one text field in the range of 0 to 999 and shows it in another text field in words. If the number is out of range, it should show out of range and if it is not

More information

Enterprise Knowledge Platform Adding the Login Form to Any Web Page

Enterprise Knowledge Platform Adding the Login Form to Any Web Page Enterprise Knowledge Platform Adding the Login Form to Any Web Page EKP Adding the Login Form to Any Web Page 21JAN03 2 Table of Contents 1. Introduction...4 Overview... 4 Requirements... 4 2. A Simple

More information

COMP1000 Mid-Session Test 2017s1

COMP1000 Mid-Session Test 2017s1 COMP1000 Mid-Session Test 2017s1 Total Marks: 45 Duration: 55 minutes + 10 min reading time This examination has three parts: Part 1: 15 Multiple Choice Questions (15 marks /45) Part 2: Practical Excel

More information

CSE 154 LECTURE 9: SUBMITTING DATA (POST)

CSE 154 LECTURE 9: SUBMITTING DATA (POST) CSE 154 LECTURE 9: SUBMITTING DATA (POST) Drop-down list: , menus of choices that collapse and expand (inline) jerry george

More information

DC71 INTERNET APPLICATIONS DEC 2014

DC71 INTERNET APPLICATIONS DEC 2014 Q.2 a. What are the Core Attributes of XHTML elements? Id - Uniquely identifies the element in a page. All ids in a document must be distinct. Among other uses, a URL ending in #some id can lead directly

More information

Using htmlarea & a Database to Maintain Content on a Website

Using htmlarea & a Database to Maintain Content on a Website Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent

More information

CS4604 Prakash Spring 2016! Project 3, HTML and PHP. By Sorour Amiri and Shamimul Hasan April 20 th, 2016

CS4604 Prakash Spring 2016! Project 3, HTML and PHP. By Sorour Amiri and Shamimul Hasan April 20 th, 2016 CS4604 Prakash Spring 2016! Project 3, HTML and PHP By Sorour Amiri and Shamimul Hasan April 20 th, 2016 Project 3 Outline 1. A nice web interface to your database. (HTML) 2. Connect to database, issue,

More information

Web Designing HTML5 NOTES

Web Designing HTML5 NOTES Web Designing HTML5 NOTES HTML Introduction What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages

More information

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

A QUICK GUIDE TO PROGRAMMING FOR THE WEB. ssh (then type your UBIT password when prompted) A QUICK GUIDE TO PROGRAMMING FOR THE WEB TO GET ACCESS TO THE SERVER: ssh Secure- Shell. A command- line program that allows you to log in to a server and access your files there as you would on your own

More information

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser. Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the tags; this creates the object which is the visible

More information

HTML Tags <A></A> <A HREF="http://www.cnn.com"> CNN </A> HREF

HTML Tags <A></A> <A HREF=http://www.cnn.com> CNN </A> HREF HTML Tags Tag Either HREF or NAME is mandatory Definition and Attributes The A tag is used for links and anchors. The tags go on either side of the link like this: the link

More information

HTML: Fragments, Frames, and Forms. Overview

HTML: Fragments, Frames, and Forms. Overview HTML: Fragments, Frames, and Forms Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@ imap.pitt.edu http://www.sis. pitt.edu/~spring Overview Fragment

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

Virus from hack - Original page

Virus from hack - Original page Virus from hack - Original page Virus Adding images to your web pages File types Most web browsers support 3 types of image files.jpg.gif.png Simplified definition of usage: JPG s used for big images (most

More information

CSE 154 LECTURE 8: FORMS

CSE 154 LECTURE 8: FORMS CSE 154 LECTURE 8: FORMS Web data most interesting web pages revolve around data examples: Google, IMDB, Digg, Facebook, YouTube, Rotten Tomatoes can take many formats: text, HTML, XML, multimedia many

More information

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science) Lecture 08 Tables in HTML Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Summary of the previous lecture Adding images to web page Using images as links Image map Adding audio and video

More information

HTML Forms. By Jaroslav Mohapl

HTML Forms. By Jaroslav Mohapl HTML Forms By Jaroslav Mohapl Abstract How to write an HTML form, create control buttons, a text input and a text area. How to input data from a list of items, a drop down list, and a list box. Simply

More information

=================== coffee-submit.php ==========================

=================== coffee-submit.php ========================== Solutions 1. CSS body { background-color: #DDD; #info img { float: right; height: 200px; margin: 10px; #info { padding-left: 2%; float: left; width:78%; #stats { width: 20%; float: left; background-color:

More information

COMP519: Web Programming Autumn 2015

COMP519: Web Programming Autumn 2015 COMP519: Web Programming Autumn 2015 In the next lectures you will learn What is SQL How to access mysql database How to create a basic mysql database How to use some basic queries How to use PHP and mysql

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