How to use CKEditor in PHP Installation and Uses

Here we will discuss what is CKEditor and How to use CKEditor in PHP how to install CKEditor and How to use it. What is CKEditor? It is a Modern JavaScript rich text editor. It provides the perfect WYSIWYI UI for creating semantic content. CKEditor5 is written in ES6 with MVC Architecture. CKEditor provides rich … Read more

While loop in PHP Syntax and Example

While loop in PHP is also used for repeating statements in PHP. PHP while loop checks for the condition if the condition is true then code inside the body of the loop is get executed. while – As long conditions are true, it loops back again and again through the block of code. Syntax while … Read more

PHP do while loop statement with syntax and example

If the specified condition is true, loop through the block of code once and then repeat again and again. Syntax

Example:

Result:

Do while loop is known as an exit control loop because it checks the condition at last(on exit). Do while loop executes at least once when if the condition is … Read more

PHP Switch Case Statement Syntax and Example

This statement is used if one needs to select one from multiple options. PHP Switch Case Syntax:

PHP switch case is used to select one among multiple options. inside switch we can use expression or  value inside switch there can be multiple case statement with different case value. case value must be constant. break … Read more

PHP Introduction Syntax and First Example

Her we will provide Introduction of PHP. PHP is short form of Hypertext Preprocessor. PHP was Created in 1994 by Rasmus Lerdorf To start with PHP one should need few things that are as follows:• basic knowledge of programming / scripting.  PHP Syntax:

Save your file by naming the file of “.php” extension. PHP … Read more

PHP Constants

It is just the name for the value. But its value cannot be change in the entire script once it is created. Generally its name starts with either letter or underscore (no other signs) Syntax:

Name: It specify the name of constant Value: It specify the value of constant Case-sensitive: It means whether the … Read more

How to Send Email using PHP mail() Function

Send Email using PHP mail() Function is one of the important feature of PHP. mail() is used to send email from one email address to another. Send email by PHP is very easy and without cost. PHP gives mail() function to send email.mail() function Syntax:

Output:Done! Benefits of email in web application 1. Customer … Read more

PHP File Handing

File handling is need for any web application so FILE HANDLING is an important part of PHP language. Some task to be done file needs to be processed. PHP have many function handling any kind of normal files. (Liketxt, docx, csv, jpg etc) Handle a file need to know below topics i. File create ii. … Read more

Echo and print Statements in PHP

There are two types of statements in PHP by which we can generate output, one is echo and another in print. print and echo both are used to print the data in PHP and are used frequently in the programming. 1. Echo in PHP What is an echo in PHP: echo is used to print … Read more