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 assistance in drupal 5 coding, I want assistance in Drupal 5 Coding ...

I want assistance in Drupal 5 Coding Drupal 5 website needful ongoing tweaks. Existing website that needs some tweaking and ongoing additions As well upcoming job of revam

Input text field, The field size attribute determines the width of the disp...

The field size attribute determines the width of the displayed field. The maxlength attribute sets a limit on the maximum number of characters that can be typed in the field (whic

Wordpress developer required for website, Wordpress developer required S...

Wordpress developer required Searching good wordpress developer or else team for long term and more projects we outsource our jobs to good freelancers and its regular jobs. a

Dial-up connection, O ne of the commonest ways of connection to Internet is...

O ne of the commonest ways of connection to Internet is by dial up connection via a modem & a telephone line. Using these you can link to a host machine on the Internet. Once linke

Geoip2 installation assistance, GeoIP2 installation assistance Can someo...

GeoIP2 installation assistance Can someone help us implement Geoip2 on website? We consume GeoIPlite working as we speak, we at present want to update it. Desired Skills a

Modify auth on code igniter for cakephp, Modify auth on code igniter for ca...

Modify auth on code igniter for cakephp auth, SSO lite Project Description: I start to develop apps with cakephp, but now i wish to add forum made with code igniter. i nee

Need help to revamp an existing website, Website Designing Need help to ...

Website Designing Need help to revamp an existing website Job description: Need to change the look of an existing website so that it can have greater hits Web developme

Need help to adding new tab on the website, Need help to Adding new tab on ...

Need help to Adding new tab on the website A new tab or link needs to be created on the website for customer reviews. The customers must be able to write about their experience

I need web scrapers written, I Need web scrapers WRITTEN I have five sit...

I Need web scrapers WRITTEN I have five sites (very simple) whose web scrapers I need written ASAP. I am seeking for someone who can start IMMEDIATELY as well as work on this fo

Display ads as well as native ad server and advertiser, Display Ads as well...

Display Ads as well as Native Ad Server and Advertiser and Publisher Tools This project has two tasks- a) Build an ad-serving solution as well as analytics dashboard for disp

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