Posts

Showing posts from November, 2017

Lab 8

Image
Question: In this Lab 08, you need to: {continue from previous Lab 07} # add ONE field in the table for a video clip # add control buttons on the clip i.e play, pause, stop, etc # make sure the images can be added, deleted, updated and displayed Output:

Lab 7

Image
Based on previous Lab06, you 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:

Lab 6

Image
Question: Base on  previous  sample of  small  system. Develop your own database +  sql  commands +  php  in one folder. Output:

Lab 5

Image
Question: Based on Topic 8 and 9 on PHP examples, create your own exercises using different values and layout. Topic 8  Example 1 Coding: <html> PHP originally stood for Personal Home Page <?php  echo "<h1> PHP is an HTML-embedded Web scripting language</h1>";  ?> </html> Output: Example 2 Coding: <?php $x = 19; $y = 22; // Arithmetic operation    $a = $x + $y;    $b = $x * $y;    $c = $x % $y; echo "Addition: $a<br>  Multiplication: $b<br>  Modulus: $c"; ?> Output: Example 3 Coding: <?php $x = 20; if ($x < 5) echo "X is less than 5"; else echo "X is greater than 5"; ?> Output: Example 4 Coding: <?php $x = 11; $y = 22; if ($x == 1  &&  $y == 0) echo "X is equal to Y"; else echo "X is not equal to Y"; ?> Output: Example 5 Coding: ...