I'm Rajasekar - Web developer, Freelancer, Blogger and Owner of DeveloperDesks. From India lives in Bahrain. I love to do coding, Creating websites and trying different with code and designs. You Can Hire Me
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 <?php $developedesks = array( “Skills” => array ( “php” => 80, “css” => 85, “html” => 80 ), “design” => array…
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 <?php $develop= array( array(“developer”,php,html), array(“desks”,php5,html5), array(“raja”,css,ajax), array(“sekar”,jquery,drupal) ); $count= count($develop); echo “$count”; for ($row = 0; $row <…
Associative array is array that use named keys that you assign to them. example <?php $var2 = array(‘raj’=’123′,’sekar’=>’213′,’developer’=>’545′,’desks’=>’345’); echo $var2[‘raj’]; // output is 123 echo $var2[‘sekar’]; // output is 213 echo $var2[‘developer’]; // output is 545 echo $var2[‘desks’]; // output is 345 ?> named key ‘raj’ has vlaue ‘123’; IF the named key is unknown…
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 <?php for ($x = 0; $x <= 5; $x++) { …
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 < ?php $design = array(‘photoshop’,’flash’,’dreamviewer’,’html5′); echo $design[0]; //output is photoshop echo $design[1]; //output is flash ?> If you know the total number of array…
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 < ?php $design = array(‘photoshop’,’flash’,’dreamviewer’,’html5′); echo $design[0]; //output is photoshop echo $design[1]; //output is flash ?> Three Types of Php array 1. Indexed array 2.…
PHP Introduction Before learning php, you should have some knowledge in below topics: HTML CSS JavaScript Define php? PHP is an acronym for “Hypertext Preprocessor” PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP costs nothing, it is free to download and use Php File PHP files can…
What is CSV file? A comma-separated values (CSV) (also sometimes called character-separated values, because the separator character does not have to be a comma , file stores tabular data (numbers and text) in plain-text form. Plain text means that the file is a sequence of characters, with no data that has to be interpreted instead,…
How to Apply for adsense resubmit change url – Google Adsense Problem Solution : Adsense resubmit change url. you can create the another gmail Account and place your websites url for adsence approval using created gmail account. Its work Very well. No Other options I think So.
Error: MySQL shutdown unexpectedly. ERROR 12:19:12 PM [mysql] Attempting to start MySQL app… 12:19:12 PM [mysql] Status change detected: running 12:19:13 PM [mysql] Status change detected: stopped 12:19:13 PM [mysql] Error: MySQL shutdown unexpectedly. 12:19:13 PM [mysql] This may be due to a blocked port, missing dependencies, 12:19:13 PM [mysql] improper privileges, a crash, or…