Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

replace special characters from string in codeigniter

$data = array(
    'designationName' => preg_replace('/[^a-zA-Z0-9-_.]/','', $row[$ex_start + 3])
    'designationDate' => date('Y-m-d'),
    'status_idstatus' => '1'
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #special #characters #string #codeigniter
ADD COMMENT
Topic
Name
9+1 =