The round() method of math object is used to get the value of a number rounded to the nearest integer. If the fractional part of the number is greater than or equal to .5, the argument is rounded to the next higher integer. If the fractional part of number is less than .5, the argument is rounded to the next lower integer.
PHP Data Types : Arrays
15.09.2012 16:47 in Php | 0 comments | source: | 2170 clicks
An array in PHP is a collection of key/value pairs. This means that it maps values to keys. Array keys (or indexes) may be either an integers or a strings whereas values can be any type.
It is very important to validate the data supplied by user through a form, before you process it. Among various kind of data validation, validation of date is one.
SQL Data Type
15.09.2012 16:47 in Php | 0 comments | source: | 1855 clicks
A Data Type defines the kind of value a field (of a table) can contain. We have given a list of SQL Data Types with a short description in this page.
Etched text effect using Photoshop
11.09.2012 13:52 in Photoshop | 0 comments | source: | 2264 clicks
Here is a very easy to follow tutorial to help you easily do it for any kind of color booklet design or even for other special effects as well. Let is first start with the Initial requirements.
SQL IN operator
11.09.2012 13:52 in Php | 0 comments | source: | 1856 clicks
The IN operator checks a value within a set of values separated by commas and retrieve the rows from the table which are matching. The IN returns 1 when the search value present within the range other wise returns 0.
Install PHP on Windows
03.09.2012 10:29 in Php | 0 comments | source: | 1983 clicks
You must have a web server up and running on your Windows system, else you will not be able to run PHP Scripts.
When a browser opens a web page, the browser reads the cookies (provided it has already stored it) that has stored in your machine. We used document.cookie to retrieve the information about the cookie.