 # Php Programming Code Examples

## Php > HTML and Php Code Examples

### PHP Tester - Lets you test php code from a browser

Check if Given Binary Tree is an AVL Tree - This is a C++ Program to check if BST is AVL. An AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an "AVL tree", the heights of the

Finding all Roots of a Quadratic Equation - Find all roots of a quadratic equation using if else. Input coefficients of quadratic equation from user. Store it in some variable say a, b, c. Find Discriminant of the an Equation, using...

CGI Programs using C++ in Programming - CGI stands for common gateway interface is set of standards that define how information is exchanged from a 'webserver', passing the web user's request to an application program

Dynamic Programming Algorithms in C++ - c contains the number of columns for each of the n matrices. c[ 0 ] is the number of rows in matrix 1. Minimum number of multiplications is left in m[n]. Actual ordering is computed

C++ Generate Different Random Numbers - To generate random numbers in C++, use the function rand() to generate and print random numbers. So If you want to generate different different random numbers at each time when

Code Convert a Number Decimal to Binary - Find a Binary equivalent of a decimal number entered by the user, using recursion. The user has to enter a 'decimal' which has a base 10 & this program evaluates the binary equivalent

C++ Basic Operation Addition Subtraction - "Addition(+)" of 2 vectors. "Subtraction(-)" of 2 vectors. "Multiplication" of vector with the scalar. "Cross" product of 2 vectors. Scalar(or dot) product of 2 vectors. Negative of vectors

Efficient Implementations of Disjoint Sets - numElements is the initial number of disjoint sets. Union "Two Disjoint" sets. For simplicity, we assume "root1 and root2" are distinct and represent set names. "root1" is the root of set