how word trim php
- Details
- Parent Category: computer
- Category: php
- Published on Thursday, 26 April 2012 05:19
- Written by majid
- Hits: 1211
this cod php for trim word:
$str = $_POST['mn'] ; // input text html
$chars = preg_split('/(<[^>]*[^\/]>)/i', $str, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
print_r($str);
