All for Joomla All for Webmasters

Let's Play With Coding…

Simple tricks to extend your battery life

Now a days smart phones were rules everywhere and also people were struggles to manage their battery life since numerous modules and multi tasking were performed. Following our simple tricks to reduce power usage by your smart phone Turn off GPS or location service in your mobile. It takes lot of power consumption since it […]

Read more

Convert negative numbers to positive one in PHP

When I am developing projects I came across a situation that I need to convert negative number to positive number. PHP comes with built-in function to handle it is abs(). We can pass integer and float as input to this and respective will be returned as positive value. /** * CodeZone.in * Author: Dineshkumar * […]

Read more

Number to Word conversion Using PHP

In some cases we are in position to convert number to word for an instance when we are working on invoice related modules there it required invoice value to be converted into word and print in invoice details for that I found following function which pretty much helpful for me in my projects. Below code […]

Read more

Use Font Awesome anywhere you wish

Since I started to use font awesome for my web and mobile applciation development those where become my pals in handeling UI elements. During documentation I was wondering whether this ICON’s can be used to create good image to my customer during documentation phase itself. Then it came to lime light that this can be […]

Read more

Load HTML content using jQuery

When playing your code with HTML language you sometime thought about loading content from different HTML file without reloading page. If not you thought about I thought about it several time at that time a way which I handle thing is using jQuery. It provide pre-build in function load to handle this. For an example […]

Read more

Rotate Text using CSS

While developing web pages we some time require to rotate text of images present in our content to certain degree for an instance 90 degree. For this we can use css to do that work. Simply add following code in your css /** * CodeZone.in * Author: Dineshkumar * Contact : hi@codezone.in */ .rotate { […]

Read more

Simulate Mobile Device In Chrome

Now a days HTML5 responsive designs are very popular one and developers have more concern on developing websites and web based applications to be mobile compatibility. Developers need to simulate mobile responsibility for that many used to narrow down the browser width to check responsibility. Chrome come out with awesome feature in its browser to […]

Read more

Load Instagram feeds in webpage

Instagram is very popular social platform for sharing photos and in some cases we need live feeds to be streamed in a web page. For an instance, let us consider a website of a conference and in that we like to showcase all feeds others shared with hash tag which Will be awesome to see […]

Read more

Querying Data with MySQL IN Operator

I personally like this operator when we need to query data where we need to check with many values for references. Following illustrate syntax of IN operator /** * CodeZone.in * Author: Dineshkumar * Contact: hi@codezone.in */ SELECT column1,column2,… FROM table_name WHERE (expr|column_1) IN (‘value1′,’value2’,…); In Operator can be used with UPDATE, INSERT,DELETE,etc in where […]

Read more

Delete an Element from Array

We can delete value in array using unset() function. If we know array key then we can easily use the function as follows /** * CodeZone.in * Author : Dinesh Kumar * contact : hi@codezone.in */ $example = array(“X”, “Y”, “Z”); unset($example[1]); //’dumps’ the content of $example to the page: var_dump($example); Output of Var dump […]

Tags: ,

Read more