PHP htmlspecialchars_decode() Function

By Editorial Staff in PHP Documentation. Updated on


htmlspecialchars_decode() function convert special HTML entities back to characters. This function is the opposite of htmlspecialchars(). It converts special HTML entities back to characters. Syntax: Reference: https://www.php.net/manual/en/function.htmlspecialchars-decode.php

PHP html_entity_decode() Function

By Editorial Staff in PHP Documentation. Updated on


PHP html_entity_decode() function convert HTML entities to their corresponding characters. html_entity_decode() is the opposite of htmlentities() in that it converts HTML entities in the string to their corresponding characters. Description: More precisely, this function decodes …

Finding subarray with given sum using c++

By Editorial Staff in C++ Tutorial. Updated on


Problem: Given an unsorted array of integers, find a subarray which adds to a given number. If there are more than one subarrays with the sum as the given number, print any of them. Solution: …

C program to remove consecutive repeated characters from string

By Editorial Staff in C Programming Tutorial. Updated on


In this tutorial, We have shared how to remove consecutive repeated characters from string using c programming language. This program will read a string and remove repeated consecutive characters from the string and print new …

How to create contact form in react js

By Prem Tiwari in ReactJS. Updated on


In this tutorial, I am going to share how to create contact form in react js with example. Hope, I have solved your following questions, if you have still question, feel free to add in …

Python File Methods

By Editorial Staff in Python Programming. Updated on


Python File Methods: A file object is created using open function and here is a list of functions which can be called on this object. Python provides an inbuilt function for creating, writing and reading …

JavaScript | ArrayBuffer.prototype.slice() Function

By Editorial Staff in JavaScript. Updated on


ArrayBuffer.prototype.slice() Function: The slice() method returns a new ArrayBuffer whose contents are a copy of this ArrayBuffer’s bytes from begin, inclusive, up to end, exclusive. Output

PHP | sort() Function

By Editorial Staff in PHP. Updated on


PHP sort() function sorts an array. Elements will be arranged from lowest to highest when this function has completed. It will returns TRUE on success or FALSE on failure. Syntax: For more information visit: https://www.php.net/manual/en/function.sort.php

PHP Sorting Arrays

By Prem Tiwari in PHP. Updated on


In this tutorial, we have share the list of PHP sorting Arrays function with descriptions. What is an Array? An array is a special variable, which can hold more than one value at a time. …

PHP Array Functions List

By Editorial Staff in PHP. Updated on


Below we have shared a list of array functions in PHP which you can use while working with PHP applications. These functions allow you to interact with and manipulate arrays in various ways. Arrays are …

Python program to add digits of a number

By Pinki in Python Programming. Updated on


In this article, we have shared a simple Python program to add the digits of a number using while loop. Once you execute this program it will ask to enter a positive number and the …

Ruby program to divide two integer numbers

By Editorial Staff in Ruby. Updated on


This program takes two integers as input and store in a separate variables num1 and num2. After the calculation, the result will be stored in another variable result and it will print the result. Ruby …

Ruby program to multiply two integer numbers

By Editorial Staff in Ruby. Updated on


This program takes two integers as input and store in a separate variables num1 and num2. After the calculation, the result will be stored in another variable result and it will print the result. Ruby …

Ruby program to subtract two integer numbers

By Editorial Staff in Ruby. Updated on


This program takes two integers as input and store in a separate variables num1 and num2. After the calculation, the result will be stored in another variable subtract and it will print the result. Ruby …

Ruby program to add two integer numbers

By Editorial Staff in Ruby. Updated on


This program takes two integers as input and store in a separate variables num1 and num2. After the calculation, the result will be stored in another variable sum and it will print the result. Ruby …