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 11

Author: Neil Fin

May 07

How to Find the Maximum/highest Value of an Array in PHP?

Neil FinLeave a commentPHP How-tophp max() function example

SOLUTION: Learn how to find the maximum/highest value of an array

May 06

How to Sort an Array by Keys in PHP?

Neil FinLeave a commentPHP How-tophp array sort by key, php krsort() function example, php ksort() function example, php sort by array key

SOLUTION: Learn techniques to sort an array by keys

May 05

How to Get Random element(s) From an Array in PHP?

Neil FinLeave a commentPHP How-toarray_rand php, php array_rand function

SOLUTION: Learn how to get random element(s) from an array

May 04

How to Generate Random Number in PHP?

Neil FinLeave a commentPHP How-tophp generate random number, php random number, random number php, random numbers in php

SOLUTION: Learn how to generate random number

May 03

How to Test/Check if a Variable is an Array in PHP?

Neil FinLeave a commentPHP How-tophp gettype() function example, php is_array() example

SOLUTION: Learn how to test if a variable is an array

May 02

How to Find the Size/length of a Multidimensional Array in PHP?

Neil FinLeave a commentPHP How-to

SOLUTION: Learn techniques to find the size of a multidimensional Array

May 01

How to Get the First Element of an Array in PHP?

Neil FinLeave a commentPHP How-tophp get first element of array

SOLUTION: Learn how to get the first element of an array.

Apr 30

How to Get the First Key of an Array in PHP?

Neil Fin1 CommentPHP How-tofirst key of an array, php key() function example, php reset function example

SOLUTION: Learn technique to get the first key of an array.

Apr 29

How to Round a Number to Two Decimal Places in PHP?

Neil FinLeave a commentPHP How-toround to two decimal places, rounding numbers

Problem: You have a number (ex. 549.767, 549, or .549). You want to round the number to 2 decimal places (ex. 549.77, 549.00, or 0.55).

Apr 28

How to Check if an Array is Empty in PHP?

Neil Fin1 CommentPHP How-tophp empty, php empty array, php empty() function

Problem: Suppose you have an optional form field (declared as an array, see the following code) which may accept nothing or one or multiple values from a user. Now, you want to check if the user has added anything at Read more

Posts pagination

Previous 1 … 10 11 12 … 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