Posts

LAB 09 - INSERT IMAGE USING BLOB DATA TYPES

Image
Assalamualaikum and hai! For the last lab session, which is lab 09 tutorial session, we are required to continue the previous lab 08 with insert image by using the BLOB data types. This is the last lab tutorial for this subject WWW Programming.  In this database, the content that i insert is as below: The step to insert the image for blob/longblob data type is as follow: 1. Insert new column after DOB table. 2. Name it as "IMAGE", choose the longblob/blob data types. 3. Then import any image from download file into the image database column. Here i show some example on the coding for Home page php file: <html> <head> <title>List of Users</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="80%" height="339" border="1" align="center" bordercolor="#000000"> ...

FINAL PROJECT WWW PROGRAMMING

Image
Assalamualaikum and hai! Today i'm going to share with all of you my final project www programming by using the XAMPP. The project that we create are title "Watchatime Online Store" which are focused on the store sells the watches.  Watchatime Online Store is the website which purchase the collection of watch for men and women such as G-Shock, Daniel Wellington and Casio. In this project, we create two user: Admin and User -Admin may ADD item, DELETE item, VIEW product and EDIT the form of editing. -USER may view the HOME, PRODUCT and ABOUT US menu. This is the example of database in Watchatime Online Store: Database Structure of product database Structure of User database Structure of Video database This is the interface of Watchatime Online Store: LOGIN HOME (USER) LIST OF PRODUCT (USER) ABOUT US (USER) TRANSACTION ------------...

LAB 05 - CREATE YOUR OWN EXERCISE

Image
Assalamualaikum and hai! For today lab session, we are  have received the task given by our lecturer as follow: Based on Topic 8 and 9 on PHP examples, create your own exercises using different values and layout. All of the image below show some example of the php code and its output.  Output: 1. LOGIN FORM code:  output: 2. START SESSION code: output: 3. DESTROY SESSION code: output: 4. FORM VALUES code:  output: 5. SUBMITTED VALUES/CALCULATION code:  output: Thats all for this lab 05 tutorial session. See again in lab 06 tutorial session! Enjoy your day~ Bye! Assalamualaikum W.B.T. :)

LAB 07 - ADD IMAGE

Image
Assalamualaikum and hai! Questions: On this lab 07 tutorial, it will be based on previous Lab 06 which need to : -> add ONE field in the table for image/pic/photo normally PNG/JPG-formatted. -> add record for more than 5 records, 10 would be nice :D ->make sure the images can be added, deleted, updated and displayed. Output: STEP TO DO LAB 07: 1. Add new row for IMAGE in the previous lab 06. 2.   Insert an embed link into PHPMyAdmin database. How to embed a link of image/video? 1. Choose any image/video in search engine. 2. Copy the image/video link. 3. Open "http://embed.ly/code" link and paste any image/video link. 4. Embed the image/video. 5. Copy the embed link and paste it into the PHPMyAdmin database. 3. Don't forget to change and add the coding in all PHP files in order to print out all the new database from image. For example : - listAll.php <html> <head> <title>List of Users...

JAVA SCRIPT ASSIGNMENT

Image
Assalamualaikum and hai! MID TERM JAVASCRIPT QUESTIONS: Interactive Creative Design (STIV2053) subject allocates its mark percentage by 60% and 40% where the 60% represents the coursework and the 40% represents the final exam.  Coursework is constituted of quizzes, assignments and a final project which carry the percentage of 10%, 20%, and 30% respectively.  There are 10 quizzes and only the best five are selected to be calculated as a part of the carry mark  AUTOMATICALLY.  Four assignments must be completed in order to contribute to the carry mark’s total and as for the final project; a complete Interactive Creative Design work along with a written report must be submitted. Both carry the percentages of 20% and 10% respectively. Develop a system that counts the total percentage of the subject and based on the total percentage obtained by using JavaScript + HTML and send thru this online as a single zip file. OUTPUT: The codi...