Explain different types of statement which are there in php, PHP Web Programming

Assignment Help:

What are the different types of statements which are present in PHP?

There are four types of PHP statements which are present. They are as follows:

• Simple statement- these are echo statements and end with a semicolon (;). PHP ignores white spaces between simple statements. Till it finds a semicolon it reads the statement.

• Complex/Conditional statements: these are statements that deal with certain conditions which have to be executed to meet certain specific requirements. These are if and else block or switch statements. PHP reads complete statement and doesn't stop at the first semicolon it encounters. It looks for starting and ending braces to end execution.

• Looping statements: statements which are repeated in a block. Feature which enables you to execute the statements repeatedly is known as loop. For illustration: while loop, for loop, do...while loop.

 


Related Discussions:- Explain different types of statement which are there in php

I want help for email template, Email template This job is to take a des...

Email template This job is to take a design as well as build a newsletter template in HTML that works in different email clients. Desired Skills are CSS, HTML, Newsletters, E

Developer to build a custom made interactive gaming website, Interactive Ga...

Interactive Gaming Website I want a developer to build a custom made interactive gaming website. Requirements will be from- a) website design b) gaming app design c) da

We need a php developer for website, SanaSana Website Ecommerce website ...

SanaSana Website Ecommerce website using MySQL, Magento, PHP. There is several customization required for themes. Data has by now been procured. Desired Skills are MySQL Admi

Need help-cakephp plugin needed to plot charts with nv3d.js, Cakephp plugin...

Cakephp plugin needed to plot charts with nv3d.js I have a database where I have pairs of date times and values. I want a cakephp plugin that permits me to plot them using nv3d.

Serbian php developer wanted for long terms, Serbian PHP Developer wanted >...

Serbian PHP Developer wanted > Must be creative with UI Experience, etc We are interested for a RESPONSIBLE as well as well-organized programmer with the following requirements

Qualified django and python expert needed, Qualified Django and Python Expe...

Qualified Django and Python Expert to make certain site changes We want somebody to change the settings therefore that we can have a different template for the homepage. We like

Websites to create real time user conversations, Prototype-WebRTC widget fo...

Prototype-WebRTC widget for websites to create real time user conversations The project comprise a server side built using node.js and a client side widget using webRTC. Users u

Turn based business game, Turn Based Business Game I am engrossed in hav...

Turn Based Business Game I am engrossed in having a turn based strategy game created for small business owners - specifically at least initially in the lawn as well as landscape

Need help in responsive architectural portfolio, Responsive Architectural P...

Responsive Architectural Portfolio, HTML5 and jQuery We are seeking a new website to showcase our architectural projects. I have a good hint of exactly how I want the website

Create a web page that prompt the user for input, Overview Web pages often...

Overview Web pages often need to prompt the user for input and that input will then need to be uploaded to the server, processed, possibly stored, and then some appropriate result

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd