answersLogoWhite

0

What is if in php?

Updated: 8/20/2019
User Avatar

Wiki User

10y ago

Best Answer

if is very simple, if the given conditions are true than execute the code, if not then move on:

$a = 1;

if($a == 1) {the code}

the ($a == 1) will output true to the if statement, which will execute the code

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is if in php?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is 10 percent in Php 250?

Answer: Php 2510% of Php 250= 10% * Php 250= 0.10 * Php 250= Php 25


What is a php consultant?

PHP Consultant is a Expert PHP Developer who Guide PHP Development Process


What is the default extension that most Web servers use to process php scripts?

PHP files extension is .php


What are semantics in PHP?

In PHP, semantics refer to the meaning of code or how statements are interpreted by the PHP engine. It involves understanding how code functions and interacts with other elements in a PHP script. Proper semantics ensure that the code behaves as expected and follows the established rules of the PHP language.


Is php a binary file?

No, PHP is text file with .php extension.


Will php 4.4.7 server support php 5 files?

Yes php 4.4.7 server support php 5 files. But most of the php 5 features are not supported by php 4.4.7 version


Does android supports PHP?

It supports websites made on php but not coding in php. There are workarounds for coding in PHP using Android.


How do you get the url in a php website?

Copy the URL with the .php, The .php is part of the page.


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.


Where can PHP help be found online?

PHP help can be found online in several different places. Some of these places include PHP Live Support, PHP Moot, PHP Help, Live Person, and PHP Freaks.


How do I get rid of PHP in Charter's home page?

Open the PHP script and delete the PHP from it.


What is php extension?

We can write php extension is many way... .php , .php5, .php4