 # Php Programming Code Examples

## Php > Algorithms Code Examples

### Paginating the mySQL data

Generate a Random UnDirected Graph for - Basically it implements on a big network. The time complexity of this algorithm is O(log(n)). This algorithm takes the input of the number of edges 'e'. It connects vertexes randomly &

Program to implement a boolean function - Color at stars position. Start in upper corner. Gives a message to user. For checking that a particular no. Decides whether output is 1 or 0. Normal mux implementation. Decides...

Multiple If Statements in C Programming - The statements inside the body of "if" only execute if the given condition returns true. If the condition returns false then statements inside "if" are skipped. Else and else..if are...

Strrchr searches the string in reverse order - 'StrrChr' is similar to the function 'StrChr', the only difference is that it searches the string in "Reverse Order", would have understood why we have extra r in 'strrchr', yes you guessed it

C Coding to find Sum of Two Matrices 3x3 - C program to read elements in two matrices and add elements of both matrices. C code for addition of two matrix. Matrix addition program in C. Logic to add two matrix in C.

Program Shows & Opens "Send to" folder - C++ program that opens the "Send to" folder. The "Location of this folder" can be obtained from SHGetSpecialFolderLocation(). Then sf tries to convert the Item Identifier to a string

Implementations Quadratic Probing Hashs - Internal method to test if a positive number is prime. Not efficient algorithm. Using Internal method to return a prime number at least as large as n. Assumes "n > 0". Insert item x into

C Implement Binary Tree using Linked List - Program implements binary tree using linked list. Binary Search tree is binary tree in which each Internal Node x stores an element such that the element stored in the left subtree of