Skip to content

AuthorCode

  • Examples
    • HTML 5
    • jquery Demo
  • Forum
    • General Programming
      • C#
      • VB.Net
      • Windows Forms
    • Web Development
      • ASP.Net
      • HTML, JavaScript and CSS
      • HTML5
    • Internet and Web Apps
      • WordPress and bbPress
    • Database
      • Sql Server
  • Programming
    • PHP
    • Visual Basic .Net
    • C#
    • VB 6
    • VB Script
  • Tech blogs
    • Wrodpress and bbpress
    • Internet & Web apps
    • Misc
    • Social Media
  • Tutorials
    • SQL Server Tutorial
    • HTML5
    • VBScript
    • Android Development
  • Web Development
    • AngularJS
    • Angular
    • ASP.Net
    • HTML and CSS
    • HTML5

Category: PHP

Installing XAMPP on Local Windows machine and fixing Port error

XAMPP provides an ideal local development environment, XAMPP is a simple and lightweight solution that allows you to create a ideal local development environment. Continue reading “Installing XAMPP on Local Windows machine and fixing Port error”

Author Hirendra SisodiyaPosted on March 23, 2017March 23, 2017Categories PHP, Windows 7Tags PHP, XAMPP

if statement in PHP

if statements works like this Continue reading “if statement in PHP”

Author Hirendra SisodiyaPosted on May 4, 2012May 4, 2012Categories PHPTags PHP

Sorting Arrays in PHP

PHP provides various methods for sorting arrays:sort(), asort(), rsort(), arsort() and ksort(). we will discuss each function one by one. Continue reading “Sorting Arrays in PHP”

Author Hirendra SisodiyaPosted on April 29, 2012Categories PHPTags Array in PHP, PHP

How to get elements in the array that contain data in PHP – list() and each() function

We can use list() and each() function to return only the elements in the array that contain data. With the help of list() and each() functions, we can use entire contents of an array with minimum efforts. Continue reading “How to get elements in the array that contain data in PHP – list() and each() function”

Author Hirendra SisodiyaPosted on April 25, 2012Categories PHPTags Array in PHP, PHP

next() and prev() functions in an array of PHP

You can get the index of a new element added to an array with the help of next() function. next() and prev() functions enable us to navigate through arrays by moving the pointer to the next or previous element in the array.
Continue reading “next() and prev() functions in an array of PHP”

Author Hirendra SisodiyaPosted on April 25, 2012Categories PHPTags Array in PHP, PHP

Current() and Key() functions in PHP

Current() and Key() are the useful functions. PHP uses a pointer to keep track of which element being used by the script. We can use Current() and Keys() function to find out the value and index respectively. Continue reading “Current() and Key() functions in PHP”

Author Hirendra SisodiyaPosted on April 24, 2012April 24, 2012Categories PHPTags Array in PHP, PHP

Using array in for and while loop in PHP

Suppose you have an array of 100 elements and you want to retrieve each element then it will be hard to retrieve each element individually. Instead of we can use for loop to retrieve items. Continue reading “Using array in for and while loop in PHP”

Author Site DefaultPosted on April 23, 2012Categories PHP

Arrays in PHP

Simply an Array is a group of the data items or we can say An Array is a set of variables that all have same name. for example we can define an array Capitals to represent a set of the capitals name of the some countries. Continue reading “Arrays in PHP”

Author Site DefaultPosted on April 23, 2012Categories PHPTags Array in PHP, PHP

Increment and decrement operators in PHP

PHP has also increment and decrement operators. The increment operator (++) adds 1 to the operand value and while (–) decrement operator subtracts 1. We can use these operators as the following form: Continue reading “Increment and decrement operators in PHP”

Author Site DefaultPosted on April 23, 2012Categories PHPTags PHP

Arithmetic operators in PHP

In PHP, the arithmetic operators works same as other programming languages simply like as $c=$a + $b (c is the sum of the a and b).
In the following example we will perform some arithmetic operations, see the following example: Continue reading “Arithmetic operators in PHP”

Author Site DefaultPosted on April 23, 2012April 23, 2012Categories PHPTags PHP
    • Examples
      • HTML 5
      • jquery Demo
    • Forum
      • General Programming
        • C#
        • VB.Net
        • Windows Forms
      • Web Development
        • ASP.Net
        • HTML, JavaScript and CSS
        • HTML5
      • Internet and Web Apps
        • WordPress and bbPress
      • Database
        • Sql Server
    • Programming
      • PHP
      • Visual Basic .Net
      • C#
      • VB 6
      • VB Script
    • Tech blogs
      • Wrodpress and bbpress
      • Internet & Web apps
      • Misc
      • Social Media
    • Tutorials
      • SQL Server Tutorial
      • HTML5
      • VBScript
      • Android Development
    • Web Development
      • AngularJS
      • Angular
      • ASP.Net
      • HTML and CSS
      • HTML5
    All rights reserved@authorcode.com