Web Global Net
Administrator
     
Offline
Posts: 1,685
|
 |
« on: May 03, 2011, 03:56: PM » |
|
<? php substr("dynamic value", 5, 2);?> or as it would appear <? php substr("2010-05-30 07:32:44", 5, 2);?>
5 Represents the last digit to ignore before reading the information and 2 represents the amount of data or information to grab
so in <? php substr("2010-05-30 07:32:44", 5, 2);?>
it would grab 05 or month of May
|