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

Select tag and pull down lists, The next type of input is a Pull down List....

The next type of input is a Pull down List. With this kind you ought to use rather than and it also contain a closing tag. This control is used while w

Html tag, As illustrated in Figure., is a starting tag. To delimit the tex...

As illustrated in Figure., is a starting tag. To delimit the text inside, add closing tag by a "/" to the starting tag. Most but not all tags contains a closing tag. I

Work in standard view, For laying out Web pages, Layout view is helpful. Th...

For laying out Web pages, Layout view is helpful. Though you can adjust most of your design elements in Layout view, certain modification should be completed in Standard view. Whil

Need help likenet upgrade - user shopping mall, Likenet upgrade - user shop...

Likenet upgrade - user shopping mall Likenet Upgrade - User auction/shopping mall A woocommerce mall simply like the auction site your building. Part of the likenet interf

Experienced php and ruby on rails programmer required, Experienced PHP and ...

Experienced PHP and Ruby on Rails Programmer Required We have a requirement of Experienced and dynamic PHP and Ruby on Rails developer who can work in PHP 3rd party APIS and can

We need help to create bitcoin poker room website, We need help to create B...

We need help to create Bitcoin poker room website Need a high end bitcoin poker flash site with option to android app/software Develop as well as design the website concept,

World wide web, The World Wide Web is defined as a "wide area hypermedia in...

The World Wide Web is defined as a "wide area hypermedia information initiative amongst to provide universal access to big universe of documents". World Wide Web gives users on com

Http method, The standard recommendation for a database insert is to use HT...

The standard recommendation for a database insert is to use HTTP POST method, not the default GET method.  The PHP must reflect this by how it accesses that data.  Either a $_POS

We are looking for expert coldfusion programmer, We are looking for Expert ...

We are looking for Expert ColdFusion Programmer - must be in Northern VA/DC area We are in want of an expert ColdFusion developer who can help us with a project that involves ec

We want help in wordpress plugin development, We want help in WordPress Plu...

We want help in WordPress Plugin Development - Route Delivery Schedule We want a plugin that has the ability to display Delivery Schedules based on a location filter in a calend

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