evidenttutorials.com
Home Django HTML JavaScript jQuery PHP Python Server SQL
First Previous Page 3 of 3.
August 17, 2024

PHP strpos function for string search

You can search a character or even a string from a string through strpos function in PHP. strpos function required two string parameters first parameter is the whole string and second which you want to search.

Read more... 
August 17, 2024

PHP String Concatenation

In PHP you can do string concatenation through .(dot) operator. .(dot) operator is a concatenation operator for string values. So when you want to concatenate two or more strings in PHP you can use .(dot) operator. The example of string concatenation is mentioned below:

Read more... 
August 17, 2024

PHP explode function

explode() function is one of the most important PHP’s built in function of string. Sometimes it happens that you want to convert a string's element into an array so for the same you can use explode() function in PHP.

Read more... 
August 17, 2024

PHP String Length

Length is a property of a string. Through strlen function you can get the length of a string that means you can count the number of characters, of a particular string. If you want to count total characters of a string then you will have to pass your string as a parameter to strlen function which is built in PHP function.

Read more... 
August 17, 2024

PHP Strings

Generally a string is a collection of characters. Strings are also called array of characters. There are many functions present in PHP for string manipulation. Through these properties and methods you can perform some operations and tasks as per your requirement.

Read more... 
August 17, 2024

Cookies management in PHP

PHP Cookies: Cookies are use to store persistent data at client side or you can say that on the browser. Cookies are developed by Netscape to store state related and other information on the browser in a persistent manner. Whatever information we store in the cookie it remains in the browser till the browser session do not get close

Read more... 
August 17, 2024

External PHP file inclusion

You can include separate PHP files in your current file. Through including separate PHP files in your current file you can reuse your code again and again with writing only once. You can standardize your code with including separating files. You can write separate PHP files for different purpose according to your need and include in your other files wherever you need it.

Read more... 
August 17, 2024

Session management in PHP

PHP session use to maintain information about your users or application. Session information is maintained user wise. It means a separate session maintain for each of your website's or web application's user. A session remain active till the time a user accesses a web application or a website, when user leave the website then session gets destroy automatically.

Read more... 
August 17, 2024

PHP Classes and Objects

1. Class: A class shares common behaviors and characteristics of a real world object. Such as a car class shares it's characteristics like color, engine, wheels, model and behaviors such as drive, reverse, stop etc. In programming languages a class contains it's own variables and functions. PHP is an object-oriented scripting language.

Read more... 
August 17, 2024

Coding Standards

1. Documentation: Developers need to document their code for better understanding and readability. For class, need to specify class description and author. For variable/attribute, need to specify its description and type of value it store. For method, need to write description, input parameter details, and method’s return value. Below is sample class:

Read more... 
First Previous Page 3 of 3.

Latest Posts

You can find latest posts below:

Set and Get variables in Django session How to run a Django project? How to create a new Django project? How to create a new Django app? What does collectstatic command do in Django?
About Us Privacy Policy Disclaimer