PHP Coding Tips

Showing posts with label number. Show all posts
Showing posts with label number. Show all posts

Monday, August 20, 2012

How to incrase a variable by given value ?

You can incrase a varaible value by number by += operator. If you want to incrase string by appending some data at the end, then use .= operator.See examples below:$number += 10; $string .= " and something";