Tag Archives: PHP-basics

While making a web application with PHP, we often need to print or echo few results in form of HTML. We can do this task… Read More
The break and continue both are used to skip the iteration of a loop. These keywords are helpful in controlling the flow of the program.… Read More
In social networking websites like Facebook, Instagram, etc, the username and profile picture of the user that has logged in gets displayed in the header… Read More
When we do projects then it includes multiple modules where each module divided into multiple files and each file containing many lines of code. So… Read More
Use preg_quote() function in PHP to escape regex patterns before it is applied in run time. The preg_quote() function puts a backslash in front of… Read More
$_POST is an array of variable names. The program given below illustrates how to write HTML structure for multiple valued checkbox and to get the… Read More
Salting and hashing is a technique to store the password in a database. In cryptography, salting means to add some content along with the password… Read More
Search engine bots (sometimes called spiders or crawlers) are computer programs(bots) that crawl the web pages. In other words, they visit webpages, find links to… Read More
What is PHP ? PHP (Hypertext PreProcessor) is a general-purpose programming language developed by Rasmus Lerdorf in 1994 for web development. This is one of… Read More
In PHP, Encryption and Decryption of a string is possible using one of the Cryptography Extensions called OpenSSL function for encrypt and decrypt. openssl_encrypt() Function:… Read More
In PHP, Notices are the undefined variables indicated in the PHP project on a set of lines or particular lines. It usually does not affect… Read More
In PHP, the complex data can not be transported or can not be stored. If you want to execute continuously a complex set of data… Read More
Codeignitor is one of the popular MVC framework of PHP. Most of the developers prefer to make their projects on Codeignitor because of it’s lightweight… Read More
Codeignitor is based on MVC design pattern. We will see how the controller, model, and view work and display the result to the user. Controller:… Read More
In PHP, the size of a floating values is platform-dependent. Due to internal representation of floating point numbers, there might be unexpected output while performing… Read More