get the last 7 characters of a PHP string

php-mysql

get the last 7 characters of a PHP string Use substr() with a negative number for the 2nd argument. $newstring = substr($dynamicstring, -7); string substr ( string $string , int $start [, int $length ] ) If start is negative, the returned string will start at the start’th character from the end of string Example: <?php echo … Read more

Asterisk cmd MYSQL

This is an ADD-ON of asterisk, is not installed by default and must be downloaded and installed with the asterisk-addons package.  However, in Asterisk 1.8 the addons have been integrated back into Asterisk. MYSQL(): Basic MYSQL Database Functionality (note that the help information returned from ‘show application MYSQL’ is a little misleading – what’s shown … Read more

Story behind your date of Birth !! – Self Confidence

story behind your date of birth

If U were born on the 1st, 10th, 19th, 28th of any month U r number 1… If U were born on the 2nd, 11th, 20th, 29th of any month then U r number 2…If U were born on the 3rd, 12th, 21st, 30th of any month then U r number 3…If U were born … Read more