Post Pic

Color Picker Using PHP

Hello Guys, Here is a nice demonstration for you to make a color picker using only PHP. I think this will help you to create template theme color a little bit easier. Just Copy and Paste the source code below in a “something.php” file and run it through server or local server. This will look […]

Read More
Post Pic

Responsive Gallery Using Only Bootstrap 3

In the world of web designing Bootstrap is a famous responsive framework. To design a website we use bootstrap a lot but when there is a need of an image gallery for displaying a lot of images, we often use one or more jquery plug-ins for creating those galleries. This sometimes makes the site a […]

Read More

Url, Email and User Id Validation in PHP

There’s a few validation we need frequently.  Email, url and user id validation are required both in Php and JavaScript. Usually I use regular expression for those. For Email Validation For Url Validation For User Id validation Using filter_var() function is quiet easy. By using it we can easily validate email and url without using […]

Read More
Post Pic

Form Validation with Jquery

Generally when we are doing some application we need forms such as login form, registration form and so on. That forms need validation. if we set only server side validation that causes some problems. All kinds of validation is possible in Jquery.  A sample is given below.

Read More
Post Pic

PHP switch statement

PHP switch statement is an excellent substitution of php if or elseif. If you have many conditions for the same variable then you can use it. PHP switch statement is very similar to the php if statement. General Structure of PHP Switch Statement: PHP switch statement example: If you want to write a little program, […]

Read More
Post Pic

PHP if statement

PHP if statement is PHP language’s one of the most important feature. You can use it when you need to execute some code depending on some conditions. General structure of PHP if statement: Example: In the above PHP if statement example the variable $number is assigned a value. Then there applied a checking whether the […]

Read More
Post Pic

PHP Data Types

Knowledge about PHP data types is very important to lean PHP very well. PHP supports eight types of primitive data types. Among these eight php data types 4 are scalar data types, 2 are compound data types and 2 are special data types. 1. Scalar Data Types. boolean float integer string 2. Compound Data Types: […]

Read More
Post Pic

PHP variables

Variable is essential in programming language. It’s not different for php variables. A variable store a value whether it’s a string or integer. In PHP the variable format is as follows. If the dollar sign is omitted, it shows error. It’s a common mistake for the new programmers. Important thing about PHP variables: Starts with […]

Read More
Post Pic

PHP Syntax

If you are familiar with some basic programming language such as C, C++, Java or perl then the PHP syntax would be familiar to you. If you not then no problem this tutorial will help you to be familiar with php syntax. Creating a basic php file is very easy as HTML file. When PHP […]

Read More

Categories