Posts

Showing posts from December, 2017

WEEK 13 - PHP (QUIZ)

Image
In this week, we having our last quiz attempt in WWW Programming class. This quiz is to test our skill on writing java script. First, our lecturer provide a result for us. We need to develop a page with same result given by lecturer. Here is the result that I get ...

WEEK 12 - Connect the server with browser

Image
In this week, we learn about how to connecting the database server with the browser. The example we take is from w3school. After that we enter the data based on our database. First we need to create a table in php, purpose to show a simple interface to present the database. The following is the code to present the database <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <style> #customers {     font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;     border-collapse: collapse;     width: 100%; } #customers td, #customers th {     border: 1px solid #ddd;     padding: 8px; } #customers tr:nth-child(even){background-color: #f2f2f2;} #customers tr:hover {background-color: #ddd;} #customers th {     padding-top: 12px;     padding-bottom: 12px;     text-align: left;     background-color: #4...

WEEK 11 - PHP (Lab Activity)

Image
This week the class continue with the previous class which we follow the sample database given by lecturer and we enter it into xampp. At the end of the class , we need to export both sql document name it as dbgui and dbsql Example on how to create table on xampp.