Question: Q 1 QUESTION 1 a. Write a PHP script using for loop to add all the integers between 0 and 30 and display the sum.
QUESTION 1 a. Write a PHP script using for loop to add all the integers between 0 and 30 and display the sum. (5 marks) b. Create a form with the following values: A text field to collect the username (only accept chars a-z, A-Z) A text field to collect the quantity items A text field to collect price in RM A text field to collect tax 6% GST Based on the value given from the user, write a PHP script to calculate the total costs of the items including 6% GST
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
