SlideShare a Scribd company logo
1 of 1
Download to read offline
Write a complete PUP enabled website using WebMatrix. At the beginning, choose the template
of empty PHP website or empty HTML website. In the major PUP file of this site, i.e. index.php,
inside PHP script block, write PHP code to print out first 10 prime numbers inclusively starting
with 2. Print these numbers in one line and separate them with two spaces. You MUST use PHP
output statement, flow control statements for selection and loop control structures in PHP.
Solution
Need to create two files named template.php and index.php
template.php
PHP include Website Template
index.php

More Related Content

More from fashionbigchennai

Step 2 Formulate a HypothesisFormulate a hypothesis by making an .pdf
Step 2 Formulate a HypothesisFormulate a hypothesis by making an .pdfStep 2 Formulate a HypothesisFormulate a hypothesis by making an .pdf
Step 2 Formulate a HypothesisFormulate a hypothesis by making an .pdf
fashionbigchennai
 
Reaction StatisticsBackgroundWhen collecting experimental data f.pdf
Reaction StatisticsBackgroundWhen collecting experimental data f.pdfReaction StatisticsBackgroundWhen collecting experimental data f.pdf
Reaction StatisticsBackgroundWhen collecting experimental data f.pdf
fashionbigchennai
 
Please explain in detaile the European debt crisisSolutionIn 2.pdf
Please explain in detaile the European debt crisisSolutionIn 2.pdfPlease explain in detaile the European debt crisisSolutionIn 2.pdf
Please explain in detaile the European debt crisisSolutionIn 2.pdf
fashionbigchennai
 
Part 1 Many phone companies are replacing the wire in their phone s.pdf
Part 1 Many phone companies are replacing the wire in their phone s.pdfPart 1 Many phone companies are replacing the wire in their phone s.pdf
Part 1 Many phone companies are replacing the wire in their phone s.pdf
fashionbigchennai
 
How is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdf
How is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdfHow is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdf
How is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdf
fashionbigchennai
 
How do you explain Kennys acceptance by so many other people and t.pdf
How do you explain Kennys acceptance by so many other people and t.pdfHow do you explain Kennys acceptance by so many other people and t.pdf
How do you explain Kennys acceptance by so many other people and t.pdf
fashionbigchennai
 

More from fashionbigchennai (20)

The probability that A hits a target is 14 and the probability that.pdf
The probability that A hits a target is 14 and the probability that.pdfThe probability that A hits a target is 14 and the probability that.pdf
The probability that A hits a target is 14 and the probability that.pdf
 
Step 2 Formulate a HypothesisFormulate a hypothesis by making an .pdf
Step 2 Formulate a HypothesisFormulate a hypothesis by making an .pdfStep 2 Formulate a HypothesisFormulate a hypothesis by making an .pdf
Step 2 Formulate a HypothesisFormulate a hypothesis by making an .pdf
 
Since the directions of v and a are entirely independent of each othe.pdf
Since the directions of v and a are entirely independent of each othe.pdfSince the directions of v and a are entirely independent of each othe.pdf
Since the directions of v and a are entirely independent of each othe.pdf
 
Reaction StatisticsBackgroundWhen collecting experimental data f.pdf
Reaction StatisticsBackgroundWhen collecting experimental data f.pdfReaction StatisticsBackgroundWhen collecting experimental data f.pdf
Reaction StatisticsBackgroundWhen collecting experimental data f.pdf
 
Please explain in detaile the European debt crisisSolutionIn 2.pdf
Please explain in detaile the European debt crisisSolutionIn 2.pdfPlease explain in detaile the European debt crisisSolutionIn 2.pdf
Please explain in detaile the European debt crisisSolutionIn 2.pdf
 
Part 1 Many phone companies are replacing the wire in their phone s.pdf
Part 1 Many phone companies are replacing the wire in their phone s.pdfPart 1 Many phone companies are replacing the wire in their phone s.pdf
Part 1 Many phone companies are replacing the wire in their phone s.pdf
 
Mary is an excellent waitress. In the restaurant, she can easily hand.pdf
Mary is an excellent waitress. In the restaurant, she can easily hand.pdfMary is an excellent waitress. In the restaurant, she can easily hand.pdf
Mary is an excellent waitress. In the restaurant, she can easily hand.pdf
 
List three characteristics that influence the rate of simple diffusi.pdf
List three characteristics that influence the rate of simple diffusi.pdfList three characteristics that influence the rate of simple diffusi.pdf
List three characteristics that influence the rate of simple diffusi.pdf
 
Its all worked out, but Im still very confused by the steps .pdf
Its all worked out, but Im still very confused by the steps .pdfIts all worked out, but Im still very confused by the steps .pdf
Its all worked out, but Im still very confused by the steps .pdf
 
Is the world overpopulated What are the arguments for the notion th.pdf
Is the world overpopulated What are the arguments for the notion th.pdfIs the world overpopulated What are the arguments for the notion th.pdf
Is the world overpopulated What are the arguments for the notion th.pdf
 
In the ellipse shown below, each point marked with a dot is called a(.pdf
In the ellipse shown below, each point marked with a dot is called a(.pdfIn the ellipse shown below, each point marked with a dot is called a(.pdf
In the ellipse shown below, each point marked with a dot is called a(.pdf
 
Identify the following Level of caudal end of subarachnoid space E.pdf
Identify the following  Level of caudal end of subarachnoid space  E.pdfIdentify the following  Level of caudal end of subarachnoid space  E.pdf
Identify the following Level of caudal end of subarachnoid space E.pdf
 
If the set of integers were given the indiscrete topology, would it .pdf
If the set of integers were given the indiscrete topology, would it .pdfIf the set of integers were given the indiscrete topology, would it .pdf
If the set of integers were given the indiscrete topology, would it .pdf
 
2. When did we establish four time zones in the US And whySolu.pdf
2. When did we establish four time zones in the US And whySolu.pdf2. When did we establish four time zones in the US And whySolu.pdf
2. When did we establish four time zones in the US And whySolu.pdf
 
How is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdf
How is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdfHow is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdf
How is a vaccination to a KILLED VIRAL VACCINE similar or dissimil.pdf
 
How do you explain Kennys acceptance by so many other people and t.pdf
How do you explain Kennys acceptance by so many other people and t.pdfHow do you explain Kennys acceptance by so many other people and t.pdf
How do you explain Kennys acceptance by so many other people and t.pdf
 
Find the maximum number of zeros that the following polynomial functi.pdf
Find the maximum number of zeros that the following polynomial functi.pdfFind the maximum number of zeros that the following polynomial functi.pdf
Find the maximum number of zeros that the following polynomial functi.pdf
 
find all homomorphic images of the octic group D4SolutionSuppo.pdf
find all homomorphic images of the octic group D4SolutionSuppo.pdffind all homomorphic images of the octic group D4SolutionSuppo.pdf
find all homomorphic images of the octic group D4SolutionSuppo.pdf
 
Facilitated diffusion is a type of passive transport that allows solu.pdf
Facilitated diffusion is a type of passive transport that allows solu.pdfFacilitated diffusion is a type of passive transport that allows solu.pdf
Facilitated diffusion is a type of passive transport that allows solu.pdf
 
During WWII, starting in 1944, american bombers flew over Germany an.pdf
During WWII, starting in 1944, american bombers flew over Germany an.pdfDuring WWII, starting in 1944, american bombers flew over Germany an.pdf
During WWII, starting in 1944, american bombers flew over Germany an.pdf
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Write a complete PUP enabled website using WebMatrix. At the beginnin.pdf

  • 1. Write a complete PUP enabled website using WebMatrix. At the beginning, choose the template of empty PHP website or empty HTML website. In the major PUP file of this site, i.e. index.php, inside PHP script block, write PHP code to print out first 10 prime numbers inclusively starting with 2. Print these numbers in one line and separate them with two spaces. You MUST use PHP output statement, flow control statements for selection and loop control structures in PHP. Solution Need to create two files named template.php and index.php template.php PHP include Website Template index.php