Category Archives: Php

PHP

PHP Tutorial for Beginners in Developer Desks, To Learn PHP in simple steps from basic to advanced concepts with examples including , Predefined Variables Examples, Built-in Function, OOPS , Advanced , Numbers,  Arrays, Hash File I/O, IF, ELSE IF, Do, Regular Expressions,  While Loops, Operators, GET, POST, Coding Standard, Subroutines, Modules, Socket Communication, File Management,  Reference, Syntax Overview, Special Variables, MySQL Login, Form Validation, Web Design, PayPal Integration, Library,  Ajax Search, Ajax Auto Complete Search, Ajax XML Parser,  Ajax RSS Feed Example, Simple XML, XML Introduction, SAX Parser Example, DOM Parser Example, Simple XML GET,  Core vs frame works , Frame Works, Design Patterns.

For beginners and professionals with examples of file, session, date, array, form, functions, time, XML, ajax, MySQL, regex, string, oops Concept.

How To Compress Image File Size Using Php


Notice: A non well formed numeric value encountered in /home/cinemau0/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

We are Commonly download the image from google and Upload it without compressed, Its made a problem while loading the website, Its reduce the page speed, So we need to compress the Image size before upload into your site, So here we go to learn How To Compress Image File Size Using Php, Demo Step… Read More »

How to search the key values in the array – array_search

If we have a very large array values in Indexed or Associative array, we have to search or filter the particular array value or key. Array_Search function is used to find the value. This  function used to  search an array for a value and returns the key.

  In the Given example, we have to… Read More »

Function to find particular value or key in the array for php – In_array functions

Function to find particular value or key in the array for php – In_array In_array Functions is used to find the value in the array list using this function you can find the value is present or not in array queue. syntax: In_array(); for example have to find “Developerdesks” in the given array

Explanation: If… Read More »

How can we print array with in array using for-each loop – Three dimensional array

A multidimensional array is an array containing one or more arrays. Three-Dimensional array For three dimensional array u have to use two for loop condition find 0 indexed array value and then 0 indexed array value

Explain First foreach consider skill as $develop and php =>80 as $desks Second For each consider $key as… Read More »

How We used Multidimensional Array concept in Php?

Multidimensional Array concept in Php A multidimensional array is an array containing one or more arrays. Its is solution for to know how to handle a array with in array Example 1.Two-dimensional array 2.Three-dimensional array 1.Two-dimensional array

Output

Explanation: First For loop consider all array values inside the array  –> array(“developer”,php,html) as 0 indexed Second For… Read More »

How to print array values in php using mysql – associative array

Associative array is array that use named keys that you assign to them. example

named key ‘raj’ has vlaue ‘123’; IF the named key is unknown and unlimited the use foreach

output

Similar like Associative array Multidimensional Array concept in Php A multidimensional array is an array containing one or more arrays.… Read More »

How to use for loop concept for php using find array values

How to use for loop concept for php using find array values for loop is used to initialize the code for how many times it should run. syntax for (initialization counter; total counter; increment counter) {     code to be executed; } for example

output

for loop php is used to count and… Read More »

How to print array values in php using find i value – Indexed array

How to print array values indexing in php using Indexed array Indexed array is array with a numeric index. Index will Start with ‘0’ and it can be assigned automatically example

If you know the total number of array values means you can do like this, For unknown and unlimited array values are present… Read More »

Basic array concept and how to use php array and mysql

What is Array? how to use  php array? An array is a variable, which can hold more than one value at a time. php array basic function defined as array(); example

Three Types of Php array 1. Indexed array 2. Assocaiative array 3. Mutlidimentional array Click Here to know indexed array