answersLogoWhite

0

while, do...while, for, foreach are used

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you print 1 to 100 without using loop in php?

The best way to print the numbers 1 to 100 in PHP without using a loop is with the following code: echo implode("<br>", range(1,100)); You can replace the <br> with anything that you want to separate the numbers, such as dashes. I used a line-break in the example.


Which language is used more for websites PHP or ASP.net?

Php


What is the use of a question mark in php?

It is used to tell the sever to use the PHP parser. To begin php you must use <?php, and to end it, it is ?>.


What purpose is foreach function in php?

foreach is a simple loop mostly used to read an array line by line; $arr = array("one", "two" , "three"); foreach($arr as $c) { echo $c; } it'll output : onetwothree also try looking up the while loop


How does PHP function in applications?

in php used for one typ website


What file extension is used to save a php file after code has been written into it?

The file extension for PHP is .php


Is PHP a drug?

PHP is a programming language. You may be thinking of PCP, or a-PHP (a-Pyrrolidinobutiophenone).


Where does PHP used?

PHP is a Server side scripting language used for web development.The programs in php will be run on the server and only the output is sent to the internet browser.


How can you resolve looping issues in PHP?

When I have code that seems to endlessly loop, I always print out all variables in the loop that I can. I also assign count = 20 and count down to 0. Put count-- in the loop and just put: if(count == 0) break; That is the easiest thing to do.


What is new in PHP?

PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.


Does Google Chrome have PHP module enabled?

Yes, Chrome has PHP module enabled. It can be used for testing and developing PHP websites.


What is the main competitor of PHP?

PHP generally competes with ASP.NET, although PHP is installed and used on a much greater number of servers.