Tuesday, 26 December 2017

Week 13 in the class (13 December 2017) - Wednesday

Today madam change the lab class lesson to the lab quiz lesson. This is the second lab quiz of us.

Below is the result of the quiz that i have done.









Week 12 in the class (6 December 2017) - Wednesday

In today class, madam ask us to try to connect the database to the server with use PHP language.

Image in below are the result that successfully connected.



Below are the coding of the connection with the server.



Week 11 in the class (29 November 2017) - Wednesday

In today, our class is continue with the task from last week.

Below is the image of the database in PHPMyAdmin:



Week 10 in the class (22 October 2017) - Wednesday

In today lab class, we still continue to the PHP lesson. In this time, madam ask us to create a PHP form validation example. We refer to the code which from W3school and edit it by using Adobe Dreaweaver CS6.

Steps to create a basic secure PHP form such as:
  1. Create a simple form.
  2. Add validation to the form.
  3. Make input fields required and create error messages if needed.
  4. Validate the input data.
  5. Prevent the form from emptying all the input fields when the user submits the form.

PHP Validation Form
Week 9 in the class (15 November 2017) - Wednesday

After the last class that madam taught us about what is PHP and we also have some concept of PHP. So today class, madam give us some exercise about PHP.

Below is the work that i have done.
Form Result


PHP 1

PHP 2

PHP 3

Welcome Result



Week 7 in the class (1 November 2017) - Wednesday

In today class, madam taught us about what is PHP. Today class have no any special thing, it just a normal lesson of learn about what is PHP.

What is PHP?

PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor, that earlier stood for Personal Home Pages.

What is a PHP File?

  • PHP files can contain text, HTML, CSS, JavaScript, and PHP code
  • PHP code are executed on the server, and the result is returned to the browser as plain HTML
  • PHP files have extension ".php"

What Can PHP Do?

  • PHP can generate dynamic page content
  • PHP can create, open, read, write, delete, and close files on the server
  • PHP can collect form data
  • PHP can send and receive cookies
  • PHP can add, delete, modify data in your database
  • PHP can be used to control user-access
  • PHP can encrypt data
With PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.


Why PHP?

  • PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP supports a wide range of databases
  • PHP is free. Download it from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side

Exmple of PHP

<!DOCTYPE html>
<html>
<body>

<?php
echo "My first PHP script!";
?>


</body>
</html>
Week 6 in the class (25 October 2017) - Wednesday

In this week, madam teach us about JavaScript(JS). JavaScript is a programming language that allows web developer to implement complex things on web pages.

Below is the exercise of JavaScript that we done today.

 Test 1

Test 2

Test 3

Test 4

Test 5

Test 6

Test 7
Week 5 in the class (11 October 2017) - Wednesday

Mid Semester Break is almost close to us in this week. So madam change our lab session class into lab exercise class. Today madam also give us an exercise almost same like last week madam given. Madam also provide us an interface's example to us and ask us follow the example madam given to create a web page. But this time is not use notepad anymore, this time madam is ask us using Adobe Dreamweaver CS6 and use Cascading Style Sheets (CSS) code to creating a we page.

Below is example that madam given.




Below is that what i have done.


4 October 2017 - Wednesday

Today class cancel and change it through  online learning method. So, madam give us a first online quiz today. Madam give us an example and wish us use notepad to create an HTML about "My Personal Profile" based on the example that madam given.

Image in the below is example that madam given.



Image in the below is my coding and output about "My Personal Profile.



Week 3 in the class (27 September 2017) - Wednesday

In this week, madam teach us about HTML language. HTML stand for Hypertext Markup Language. We learn about the basic of creating a HTML website through using notepad. Besides that, madam also provide a website about a basic HTML code which is call W3school  to let us more easy to understand what about HTML. Madam also teach us the overview of the HTML language such as paragraph, picture, heading, table and hyperlink.

Below is the coding that we learn form madam today by using notepad.


Week 13 in the class (13 December 2017) - Wednesday Today madam change the lab class lesson to the lab quiz lesson. This is the second lab...