Category:

Round off decimal to nearest highest value

If you wan’t to round off decimal value to nearest heights value you can use bellow code

Output of above code Input value 44.61 Output: 44.65 Input value 44.68 Continue Reading

Posted On :
Category:

PHP function to generate Slug

Here is simple function to generate slug in php. You can copy paste this function and generate slug by passing string in it.

🙂

Posted On :
Category:

Resolve CORS header Access Control Allow Origin error in PHP

Some time we get Cross origin requests error while working with angular. here is a working solution how to resolve this error

🙂  

Posted On :
Category:

Push array or value at specific position in php

Simple and easy way to add item at specific position of array in php

Output:

 

Posted On :