Monday 3 September 2018
Subscribe to:
Post Comments (Atom)
$array_value="'id','name'";
$aColumns = array( $array_value );
$aColumns = array( 'id','name' );
explode
to convert your string to an array and str_replace
for replacing the apostrophes.$aColumns = explode(',', str_replace('\'', '', $array_value));
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment