Skip to content

Schools of Web

Teach Yourself Web Development and Web Designing Step by Step With Easy Explanation

  • All About PHP
    • PHP for Beginners
    • PHP Function List
    • PHP How-to
  • HTML
    • HTML for Beginners
    • HTML How-to
  • CSS
    • CSS for Beginners
    • CSS How-to
Search Search Close
  • Home
  • Neil Fin
  • Page 12

Author: Neil Fin

Apr 27

How to Calculate Difference Between Two Dates in PHP?

Neil FinLeave a commentPHP How-toDateTime class diff() method

Problem: You want to calculate number of days between two dates.

Apr 26

How to Create Comma Separated List From an Array in PHP?

Neil FinLeave a commentPHP How-toimplode() function example, php implode function

SOLUTION: Learn method to create comma separated list from an array.

Apr 25

How to Split a Comma Delimited/separated String into an Array in PHP?

Neil FinLeave a commentPHP How-tocomma separated file, explode() function, php split string by comma

SOLUTION: Learn technique to split a comma separated string into an array.

Apr 25

How to Add Element(s) to the Beginning of an Array in PHP?

Neil FinLeave a commentPHP How-toarray_unshift() example, php add item to array, php array_unshift()

Problem: You have an array(ex. the following one) which has all even numbers as values. Now, you want to a new item(suppose 2) in the first position of the array.

Apr 23

How to Find if an Array is Indexed or Associative in PHP?

Neil FinLeave a commentPHP How-tois Indexed or Associative in PHP

Problem: You have an array which has some elements inside. You want to check whether the array is an associative array or an indexed array.

Apr 22

How to Sort an Array by Values in PHP?

Neil FinLeave a commentPHP How-toarsort() example, arsort() function, asort() example, asort() function, sort() example, sort() function

Problem: You have an array – a one-dimensional array, see the following example. You want to sort the values of array.

Apr 21

How to Specify Language in HTML5?

Neil Fin1 CommentHTML How-tohtml5 language, specify language in html5

Problem You want to use a specific language in the HTML document. It might be English, German, Spanish, or any other language.

Apr 20

How to Format a Number with Leading Zero in PHP?

Neil Fin4 CommentsPHP How-tophp sprint, printf example, sprintf example, sprintf function, str_pad example

SOLUTION: Learn techniques to add leading zero of a number.

Apr 19

How to Determine if a Number is Odd or Even in PHP?

Neil FinLeave a commentPHP How-tophp if number is odd

SOLUTION: Learn technique to determine if a number is odd or even.

Apr 18

How to Add an Element to the End of an Array in PHP?

Neil FinLeave a commentPHP How-toarray_push() example, php array_push

SOLUTION: Learn how to add one or more elements to the end of an Array.

Posts pagination

Previous 1 … 11 12 13 … 20 Next

Courses

  • PHP for Beginners
  • CSS for Beginners
  • HTML for Beginners

How-to Tutorials

  • PHP How-to
  • HTML How-to

About this site

Schools of Web is run by web developer and designer to help others learn it easily.
  • Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Earnings Disclaimer
Copyright © All rights reserved.
Education Soul by WEN Themes