PHP Formatter

A Unique Blog about PHP

  • ,

    Array Combine

    This function combines two arrays where the first array is treated as the key and the second array as the contents of the said table. The syntax goes like…

  • ,

    Embedding Comments

    Now, to make you a better programmer we all know the value of comments. This allows you to understand the code that you have written defining and given meaning…

  • ,

    Array Chunk Function

    The array_chunk() function on the on the other hand as the name implies, divides an array into chunks or several tables from the source table. The syntax goes something…

  • ,

    Array Count Values

    The array_count_values() function returns an array which contains the keys of the original array’s value and the value is the number of occurences. A sample of it’s use is…

  • ,

    Array_diff Function

    The first function, array_diff() is used for comparing several tables or arrays which gives an array with the keys and values from the first array if the value is not available…

  • ,

    Array_diff_assoc and array_diff_key Functions

    The next array comparison functions is the array_diff_assoc(array1,array2,array3,array3…..), usage is similar with all of these array_diff functions varying only in the way the comparisons are done. Below is sample…

  • PHP Debugging

    There are different categories of an error message that the PHP interpreter may fall into: PARSE ERROR: usually problems with the syntax of the program. This includes forgetting to…

  • Web Page Parsing

    When writing an internet address in the address bar of the browser and clicking enter to start going to that address, you send a request to the web server…

  • PHP or Hypertext Preprocessor Basics

    PHP or Hypertext Preprocessor is an HTML embedded scripting language that is used to create web pages that are dynamic. The PHP script is embedded in an HTML document.…

  • 4 Important Things About PHP

    1. What is PHP Programming? PHP is a web programming language designed originally to produce dynamic web pages. Mainly, the PHP language is used in server-side scripting. However, it…