How to break a string in php
in php if there is a long string then if you want to break that string in to first three or more character. then you can use below code.
Use Below Code :
$string = "DEVELOPERSMAP"; echo substr($string,0,3);
NOTE : if you want increase the words count then you can change count 3 to more than you want. here 0 is starting character limit and it goes to where you want your string break.